Removes a hack breaking deserialization when running retro_reset(),
retro_unserialize() and retro_run() in this order, as it silently resets
the core just after setting its state.
void retro_reset(void)
{
- //hack to prevent retroarch freezing when reseting in the menu but not while running with the hot key
- rebootemu = 1;
- //SysReset();
+ SysReset();
}
static const unsigned short retro_psx_map[] = {
void retro_run(void)
{
int i;
- //SysReset must be run while core is running,Not in menu (Locks up Retroarch)
- if(rebootemu != 0){
- rebootemu = 0;
- SysReset();
- }
input_poll_cb();