From e8bff5db4755dcdb9cb0928892ff900b77ad5f6c Mon Sep 17 00:00:00 2001 From: dborth Date: Wed, 14 Apr 2010 23:54:57 +0000 Subject: [PATCH] add missing stubs, ifdefs --- source/fceusupport.cpp | 9 +++++++++ source/utils/http.cpp | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/source/fceusupport.cpp b/source/fceusupport.cpp index c23318e..c1cdfb6 100644 --- a/source/fceusupport.cpp +++ b/source/fceusupport.cpp @@ -100,13 +100,22 @@ void FCEUD_NetplayText(uint8 *text) DUMMY(FCEUD_HideMenuToggle) DUMMY(FCEUD_TurboOn) DUMMY(FCEUD_TurboOff) +DUMMY(FCEUD_TurboToggle) DUMMY(FCEUD_SaveStateAs) DUMMY(FCEUD_LoadStateFrom) DUMMY(FCEUD_MovieRecordTo) DUMMY(FCEUD_MovieReplayFrom) DUMMY(FCEUD_ToggleStatusIcon) +DUMMY(FCEUD_DebugBreakpoint) +DUMMY(FCEUD_SoundToggle) DUMMY(FCEUD_AviRecordTo) DUMMY(FCEUD_AviStop) void FCEUI_AviVideoUpdate(const unsigned char* buffer) { } int FCEUD_ShowStatusIcon(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) { } diff --git a/source/utils/http.cpp b/source/utils/http.cpp index 1a96374..9674fea 100644 --- a/source/utils/http.cpp +++ b/source/utils/http.cpp @@ -10,6 +10,8 @@ * Written by dhewg/bushing, modified by Tantric ***************************************************************************/ +#ifdef HW_RVL + #include #include #include @@ -431,4 +433,4 @@ bool http_request(const char *url, FILE * hfile, u8 * buffer, result = HTTPR_OK; return true; } - +#endif