mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-30 11:50:32 +00:00
Add save status
This commit is contained in:
parent
c83db04a25
commit
2c58d34f3e
@ -85,7 +85,7 @@ void __UmdInit()
|
||||
|
||||
void __UmdDoState(PointerWrap &p)
|
||||
{
|
||||
auto s = p.Section("sceUmd", 1, 2);
|
||||
auto s = p.Section("sceUmd", 1, 3);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
@ -100,8 +100,18 @@ void __UmdDoState(PointerWrap &p)
|
||||
p.Do(umdWaitingThreads);
|
||||
p.Do(umdPausedWaits);
|
||||
|
||||
if (s > 1)
|
||||
if (s > 1) {
|
||||
p.Do(UMDReplacePermit);
|
||||
if (UMDReplacePermit)
|
||||
MainWindow::ChangeMenu();
|
||||
}
|
||||
if (s > 2) {
|
||||
p.Do(umdInsertChangeEvent);
|
||||
CoreTiming::RestoreRegisterEvent(umdInsertChangeEvent, "UmdInsertChange", __UmdInsertChange);
|
||||
p.Do(UMDInserted);
|
||||
}
|
||||
else
|
||||
UMDInserted = true;
|
||||
}
|
||||
|
||||
static u8 __KernelUmdGetState()
|
||||
|
Loading…
Reference in New Issue
Block a user