Remove unused functions
This commit is contained in:
@@ -35,7 +35,6 @@ void FCEU_printf(char *format, ...);
|
|||||||
|
|
||||||
/* Video interface */
|
/* Video interface */
|
||||||
void FCEUD_SetPalette(uint8 index, uint8 r, uint8 g, uint8 b);
|
void FCEUD_SetPalette(uint8 index, uint8 r, uint8 g, uint8 b);
|
||||||
void FCEUD_GetPalette(uint8 i, uint8 *r, uint8 *g, uint8 *b);
|
|
||||||
|
|
||||||
/* Displays an error. Can block or not. */
|
/* Displays an error. Can block or not. */
|
||||||
void FCEUD_PrintError(char *s);
|
void FCEUD_PrintError(char *s);
|
||||||
@@ -51,14 +50,6 @@ int FCEUI_NetplayStart(int nlocal, int divisor);
|
|||||||
/* Call when network play needs to stop. */
|
/* Call when network play needs to stop. */
|
||||||
void FCEUI_NetplayStop(void);
|
void FCEUI_NetplayStop(void);
|
||||||
|
|
||||||
/* Note: YOU MUST NOT CALL ANY FCEUI_* FUNCTIONS WHILE IN FCEUD_SendData() or
|
|
||||||
FCEUD_RecvData().
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Return 0 on failure, 1 on success. */
|
|
||||||
int FCEUD_SendData(void *data, uint32 len);
|
|
||||||
int FCEUD_RecvData(void *data, uint32 len);
|
|
||||||
|
|
||||||
/* Display text received over the network. */
|
/* Display text received over the network. */
|
||||||
void FCEUD_NetplayText(uint8 *text);
|
void FCEUD_NetplayText(uint8 *text);
|
||||||
|
|
||||||
|
|||||||
@@ -202,11 +202,6 @@ const char * GetKeyboard(void)
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
int FCEUD_SendData(void *data, uint32 len)
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define BUILD_PIXEL_RGB565(R,G,B) (((int) ((R)&0x1f) << RED_SHIFT) | ((int) ((G)&0x3f) << GREEN_SHIFT) | ((int) ((B)&0x1f) << BLUE_SHIFT))
|
#define BUILD_PIXEL_RGB565(R,G,B) (((int) ((R)&0x1f) << RED_SHIFT) | ((int) ((G)&0x3f) << GREEN_SHIFT) | ((int) ((B)&0x1f) << BLUE_SHIFT))
|
||||||
|
|
||||||
#if defined (PSP)
|
#if defined (PSP)
|
||||||
@@ -266,15 +261,6 @@ void FCEUD_SetPalette(uint8_t index, uint8_t r, uint8_t g, uint8_t b)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void FCEUD_GetPalette(unsigned char i, unsigned char *r, unsigned char *g, unsigned char *b)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
bool FCEUD_ShouldDrawInputAids (void)
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct retro_log_callback log_cb;
|
static struct retro_log_callback log_cb;
|
||||||
|
|
||||||
static void default_logger(enum retro_log_level level, const char *fmt, ...) {}
|
static void default_logger(enum retro_log_level level, const char *fmt, ...) {}
|
||||||
@@ -304,9 +290,6 @@ void FCEUD_SoundToggle (void)
|
|||||||
FCEUI_SetSoundVolume(sndvolume);
|
FCEUI_SetSoundVolume(sndvolume);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FCEUD_VideoChanged (void)
|
|
||||||
{ }
|
|
||||||
|
|
||||||
FILE *FCEUD_UTF8fopen(const char *n, const char *m)
|
FILE *FCEUD_UTF8fopen(const char *n, const char *m)
|
||||||
{
|
{
|
||||||
if (n)
|
if (n)
|
||||||
|
|||||||
@@ -1241,7 +1241,7 @@ int FCEUPPU_Loop(int skip) {
|
|||||||
|
|
||||||
for (scanline = 0; scanline < totalscanlines; ) { /* scanline is incremented in DoLine. Evil. :/ */
|
for (scanline = 0; scanline < totalscanlines; ) { /* scanline is incremented in DoLine. Evil. :/ */
|
||||||
deempcnt[deemp]++;
|
deempcnt[deemp]++;
|
||||||
if ((PPUViewer) && (scanline == PPUViewScanline)) UpdatePPUView(1);
|
/* if ((PPUViewer) && (scanline == PPUViewScanline)) UpdatePPUView(1); */
|
||||||
DoLine();
|
DoLine();
|
||||||
if (scanline < normal_scanlines || scanline == totalscanlines)
|
if (scanline < normal_scanlines || scanline == totalscanlines)
|
||||||
overclocked = 0;
|
overclocked = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user