diff --git a/src/driver.h b/src/driver.h index b3f029b..9ce4796 100644 --- a/src/driver.h +++ b/src/driver.h @@ -35,7 +35,6 @@ void FCEU_printf(char *format, ...); /* Video interface */ 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. */ void FCEUD_PrintError(char *s); @@ -51,14 +50,6 @@ int FCEUI_NetplayStart(int nlocal, int divisor); /* Call when network play needs to stop. */ 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. */ void FCEUD_NetplayText(uint8 *text); diff --git a/src/drivers/libretro/libretro.c b/src/drivers/libretro/libretro.c index 3f41833..56b2bb2 100644 --- a/src/drivers/libretro/libretro.c +++ b/src/drivers/libretro/libretro.c @@ -202,11 +202,6 @@ const char * GetKeyboard(void) 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)) #if defined (PSP) @@ -266,15 +261,6 @@ void FCEUD_SetPalette(uint8_t index, uint8_t r, uint8_t g, uint8_t b) #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 void default_logger(enum retro_log_level level, const char *fmt, ...) {} @@ -304,9 +290,6 @@ void FCEUD_SoundToggle (void) FCEUI_SetSoundVolume(sndvolume); } -void FCEUD_VideoChanged (void) -{ } - FILE *FCEUD_UTF8fopen(const char *n, const char *m) { if (n) diff --git a/src/ppu.c b/src/ppu.c index e9aec63..0d8ee53 100644 --- a/src/ppu.c +++ b/src/ppu.c @@ -1241,7 +1241,7 @@ int FCEUPPU_Loop(int skip) { for (scanline = 0; scanline < totalscanlines; ) { /* scanline is incremented in DoLine. Evil. :/ */ deempcnt[deemp]++; - if ((PPUViewer) && (scanline == PPUViewScanline)) UpdatePPUView(1); + /* if ((PPUViewer) && (scanline == PPUViewScanline)) UpdatePPUView(1); */ DoLine(); if (scanline < normal_scanlines || scanline == totalscanlines) overclocked = 0;