@@ -65,7 +65,6 @@ unsigned vblankscanlines = 0;
|
|||||||
unsigned overclock_state = -1;
|
unsigned overclock_state = -1;
|
||||||
unsigned dendy = 0;
|
unsigned dendy = 0;
|
||||||
|
|
||||||
|
|
||||||
int FCEUnetplay;
|
int FCEUnetplay;
|
||||||
#ifdef PSP
|
#ifdef PSP
|
||||||
#include "pspgu.h"
|
#include "pspgu.h"
|
||||||
@@ -75,7 +74,6 @@ static uint16_t retro_palette[256];
|
|||||||
#endif
|
#endif
|
||||||
static uint16_t* fceu_video_out;
|
static uint16_t* fceu_video_out;
|
||||||
|
|
||||||
|
|
||||||
/* Some timing-related variables. */
|
/* Some timing-related variables. */
|
||||||
static int soundo = 1;
|
static int soundo = 1;
|
||||||
|
|
||||||
@@ -136,7 +134,6 @@ int FCEUD_SendData(void *data, uint32 len)
|
|||||||
#define BLUE_EXPAND 3
|
#define BLUE_EXPAND 3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void FCEUD_SetPalette(unsigned char index, unsigned char r, unsigned char g, unsigned char b)
|
void FCEUD_SetPalette(unsigned char index, unsigned char r, unsigned char g, unsigned char b)
|
||||||
{
|
{
|
||||||
#ifdef FRONTEND_SUPPORTS_RGB565
|
#ifdef FRONTEND_SUPPORTS_RGB565
|
||||||
@@ -771,7 +768,7 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
|
|||||||
unsigned height = use_overscan ? 240 : (240 - 16);
|
unsigned height = use_overscan ? 240 : (240 - 16);
|
||||||
#else
|
#else
|
||||||
unsigned width = 256 - (overscan_h ? 16 : 0);
|
unsigned width = 256 - (overscan_h ? 16 : 0);
|
||||||
unsigned height = 240 - (overscan_v ? 16 : 0);0;
|
unsigned height = 240 - (overscan_v ? 16 : 0);
|
||||||
#endif
|
#endif
|
||||||
info->geometry.base_width = width;
|
info->geometry.base_width = width;
|
||||||
info->geometry.base_height = height;
|
info->geometry.base_height = height;
|
||||||
@@ -848,7 +845,8 @@ static void retro_set_custom_palette (void)
|
|||||||
|
|
||||||
/* Set variables for NTSC(1) / PAL(2) / Dendy(3)
|
/* Set variables for NTSC(1) / PAL(2) / Dendy(3)
|
||||||
* Dendy has PAL framerate and resolution, but ~NTSC timings,
|
* Dendy has PAL framerate and resolution, but ~NTSC timings,
|
||||||
* and has 50 dummy scanlines to force 50 fps. */
|
* and has 50 dummy scanlines to force 50 fps.
|
||||||
|
*/
|
||||||
void FCEUD_RegionOverride(int region)
|
void FCEUD_RegionOverride(int region)
|
||||||
{
|
{
|
||||||
static int w = 0;
|
static int w = 0;
|
||||||
@@ -908,7 +906,6 @@ void retro_reset(void)
|
|||||||
ResetNES();
|
ResetNES();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
unsigned retro;
|
unsigned retro;
|
||||||
@@ -1349,7 +1346,6 @@ static void retro_run_blit(uint8_t *gfx)
|
|||||||
|
|
||||||
video_cb(fceu_video_out_ptr, width, height, pitch);
|
video_cb(fceu_video_out_ptr, width, height, pitch);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void retro_run(void)
|
void retro_run(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user