(rarch_main_iterate) Another refactor

This commit is contained in:
twinaphex 2015-08-27 12:46:32 +02:00
parent b6c34b362d
commit bcb54b2eec

View File

@ -993,7 +993,6 @@ int rarch_main_iterate(void)
retro_input_t trigger_input; retro_input_t trigger_input;
event_cmd_state_t cmd; event_cmd_state_t cmd;
bool do_quit = false; bool do_quit = false;
int ret = 0;
static retro_input_t last_input = 0; static retro_input_t last_input = 0;
driver_t *driver = driver_get_ptr(); driver_t *driver = driver_get_ptr();
settings_t *settings = config_get_ptr(); settings_t *settings = config_get_ptr();
@ -1044,7 +1043,7 @@ int rarch_main_iterate(void)
rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED); rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED);
if (!input && settings->menu.pause_libretro) if (!input && settings->menu.pause_libretro)
ret = 1; return 1;
goto success; goto success;
} }
#endif #endif
@ -1146,5 +1145,5 @@ success:
if (settings->fastforward_ratio_throttle_enable) if (settings->fastforward_ratio_throttle_enable)
rarch_limit_frame_time(settings->fastforward_ratio); rarch_limit_frame_time(settings->fastforward_ratio);
return ret; return 0;
} }