mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
(PS3) Quit crashes fixed
This commit is contained in:
parent
cc979581eb
commit
a41e84749a
10
ps3/main.c
10
ps3/main.c
@ -271,8 +271,6 @@ static void callback_sysutil_exit(uint64_t status, uint64_t param, void *userdat
|
||||
g_quitting = true;
|
||||
g_console.ingame_menu_enable = false;
|
||||
g_console.mode_switch = MODE_EXIT;
|
||||
if(g_console.emulator_initialized)
|
||||
ssnes_main_deinit();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -465,12 +463,8 @@ begin_shutdown:
|
||||
save_settings();
|
||||
if(g_console.emulator_initialized)
|
||||
ssnes_main_deinit();
|
||||
else
|
||||
{
|
||||
cell_pad_input_deinit();
|
||||
ps3_video_deinit();
|
||||
}
|
||||
ssnes_main_clear_state();
|
||||
cell_pad_input_deinit();
|
||||
ps3_video_deinit();
|
||||
|
||||
if(g_console.screenshots_enable)
|
||||
cellSysmoduleUnloadModule(CELL_SYSMODULE_SYSUTIL_SCREENSHOT);
|
||||
|
@ -68,7 +68,6 @@ static int16_t ps3_input_state(void *data, const struct snes_keybind **binds,
|
||||
static void ps3_free_input(void *data)
|
||||
{
|
||||
(void)data;
|
||||
cell_pad_input_deinit();
|
||||
}
|
||||
|
||||
static void* ps3_input_initialize(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user