mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 03:40:03 +00:00
Change perform_reset() to ssnes_game_reset() to better advertise itself
as a public function.
This commit is contained in:
parent
15bc0e0813
commit
e3a2ab0347
@ -392,7 +392,7 @@ void config_set_defaults(void);
|
||||
bool config_load_file(const char *path);
|
||||
#endif
|
||||
|
||||
void perform_reset(void);
|
||||
void ssnes_game_reset(void);
|
||||
void ssnes_main_clear_state(void);
|
||||
int ssnes_main_init(int argc, char *argv[]);
|
||||
bool ssnes_main_iterate(void);
|
||||
|
@ -588,7 +588,7 @@ static void ingame_menu(void)
|
||||
ingame_menu_item = 0;
|
||||
g_console.ingame_menu_enable = false;
|
||||
g_console.mode_switch = MODE_EMULATION;
|
||||
perform_reset();
|
||||
ssnes_game_reset();
|
||||
}
|
||||
ingame_menu_reset_entry_colors (ingame_menu_item);
|
||||
strcpy(comment, "Press 'CROSS' to reset the game.");
|
||||
|
4
ssnes.c
4
ssnes.c
@ -1847,7 +1847,7 @@ static void check_oneshot(void)
|
||||
old_rewind_state = new_rewind_state;
|
||||
}
|
||||
|
||||
void perform_reset(void)
|
||||
void ssnes_game_reset(void)
|
||||
{
|
||||
SSNES_LOG("Resetting game!\n");
|
||||
msg_queue_clear(g_extern.msg_queue);
|
||||
@ -1861,7 +1861,7 @@ static void check_reset(void)
|
||||
static bool old_state = false;
|
||||
bool new_state = driver.input->key_pressed(driver.input_data, SSNES_RESET);
|
||||
if (new_state && !old_state)
|
||||
perform_reset();
|
||||
ssnes_game_reset();
|
||||
|
||||
old_state = new_state;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user