mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Avoid load state crash if kernel objects fail.
This commit is contained in:
parent
ed5ae855e9
commit
d3e566935a
@ -548,6 +548,8 @@ void KernelObjectPool::DoState(PointerWrap &p)
|
||||
p.Do(type);
|
||||
}
|
||||
pool[i]->DoState(p);
|
||||
if (p.error >= p.ERROR_FAILURE)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user