add missing stubs, ifdefs

This commit is contained in:
dborth 2010-04-14 23:54:57 +00:00
parent 5c1ac34012
commit e8bff5db47
2 changed files with 12 additions and 1 deletions

View File

@ -100,13 +100,22 @@ void FCEUD_NetplayText(uint8 *text)
DUMMY(FCEUD_HideMenuToggle) DUMMY(FCEUD_HideMenuToggle)
DUMMY(FCEUD_TurboOn) DUMMY(FCEUD_TurboOn)
DUMMY(FCEUD_TurboOff) DUMMY(FCEUD_TurboOff)
DUMMY(FCEUD_TurboToggle)
DUMMY(FCEUD_SaveStateAs) DUMMY(FCEUD_SaveStateAs)
DUMMY(FCEUD_LoadStateFrom) DUMMY(FCEUD_LoadStateFrom)
DUMMY(FCEUD_MovieRecordTo) DUMMY(FCEUD_MovieRecordTo)
DUMMY(FCEUD_MovieReplayFrom) DUMMY(FCEUD_MovieReplayFrom)
DUMMY(FCEUD_ToggleStatusIcon) DUMMY(FCEUD_ToggleStatusIcon)
DUMMY(FCEUD_DebugBreakpoint)
DUMMY(FCEUD_SoundToggle)
DUMMY(FCEUD_AviRecordTo) DUMMY(FCEUD_AviRecordTo)
DUMMY(FCEUD_AviStop) DUMMY(FCEUD_AviStop)
void FCEUI_AviVideoUpdate(const unsigned char* buffer) { } void FCEUI_AviVideoUpdate(const unsigned char* buffer) { }
int FCEUD_ShowStatusIcon(void) { return 0; } int FCEUD_ShowStatusIcon(void) { return 0; }
bool FCEUI_AviIsRecording(void) { return 0; } bool FCEUI_AviIsRecording(void) { return 0; }
bool FCEUI_AviDisableMovieMessages() { return true; }
const char *FCEUD_GetCompilerString() { return NULL; }
void FCEUI_UseInputPreset(int preset) { }
void FCEUD_SoundVolumeAdjust(int n) { }
void FCEUD_SetEmulationSpeed(int cmd) { }
void FCEUI_UseInputPreset(int preset) { }

View File

@ -10,6 +10,8 @@
* Written by dhewg/bushing, modified by Tantric * Written by dhewg/bushing, modified by Tantric
***************************************************************************/ ***************************************************************************/
#ifdef HW_RVL
#include <malloc.h> #include <malloc.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
@ -431,4 +433,4 @@ bool http_request(const char *url, FILE * hfile, u8 * buffer,
result = HTTPR_OK; result = HTTPR_OK;
return true; return true;
} }
#endif