Get rid of RARCH_PERFORMANCE_MODE

This commit is contained in:
twinaphex 2013-08-25 22:18:57 +02:00
parent 95f5e6aa96
commit add527e3d2

View File

@ -45,10 +45,6 @@
#include "msvc/msvc_compat.h" #include "msvc/msvc_compat.h"
#endif #endif
#if defined(RARCH_CONSOLE) && !defined(RARCH_PERFORMANCE_MODE)
#define RARCH_PERFORMANCE_MODE
#endif
// To avoid continous switching if we hold the button down, we require that the button must go from pressed, // To avoid continous switching if we hold the button down, we require that the button must go from pressed,
// unpressed back to pressed to be able to toggle between then. // unpressed back to pressed to be able to toggle between then.
static void check_fast_forward_button(void) static void check_fast_forward_button(void)
@ -1935,7 +1931,6 @@ static void check_savestates(bool immutable)
} }
} }
#if !defined(RARCH_PERFORMANCE_MODE)
void rarch_set_fullscreen(bool fullscreen) void rarch_set_fullscreen(bool fullscreen)
{ {
g_settings.video.fullscreen = fullscreen; g_settings.video.fullscreen = fullscreen;
@ -2193,7 +2188,6 @@ static void check_movie(void)
} }
#endif #endif
#if !defined(RARCH_PERFORMANCE_MODE)
static void check_pause(void) static void check_pause(void)
{ {
static bool old_state = false; static bool old_state = false;
@ -2266,7 +2260,6 @@ static void check_oneshot(void)
g_extern.is_oneshot |= new_rewind_state && !old_rewind_state; g_extern.is_oneshot |= new_rewind_state && !old_rewind_state;
old_rewind_state = new_rewind_state; old_rewind_state = new_rewind_state;
} }
#endif
void rarch_game_reset(void) void rarch_game_reset(void)
{ {
@ -2565,7 +2558,6 @@ static void check_dsp_config(void)
} }
#endif #endif
#if !defined(RARCH_PERFORMANCE_MODE)
static void check_mute(void) static void check_mute(void)
{ {
if (!g_extern.audio_active) if (!g_extern.audio_active)
@ -2700,10 +2692,8 @@ static void do_state_checks(void)
#if defined(HAVE_SCREENSHOTS) && !defined(_XBOX) #if defined(HAVE_SCREENSHOTS) && !defined(_XBOX)
check_screenshot(); check_screenshot();
#endif #endif
#if !defined(RARCH_PERFORMANCE_MODE)
check_mute(); check_mute();
check_volume(); check_volume();
#endif
check_turbo(); check_turbo();
@ -2757,9 +2747,7 @@ static void do_state_checks(void)
else else
{ {
check_netplay_flip(); check_netplay_flip();
#if !defined(RARCH_PERFORMANCE_MODE)
check_fullscreen(); check_fullscreen();
#endif
} }
#endif #endif
} }