Skip to content

Commit

Permalink
Fix savestates from before 1.4.2-420. Fixes #9998. Unfortunately this…
Browse files Browse the repository at this point in the history
… also breaks states between 420 and 468, so please save normally before upgrading if you were using one of those.
  • Loading branch information
hrydgard committed Oct 4, 2017
1 parent 356b25e commit 709a86a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Core/HLE/sceKernel.cpp
Expand Up @@ -263,7 +263,6 @@ void __KernelDoState(PointerWrap &p)
__UmdDoState(p);
__UtilityDoState(p);
__UsbDoState(p);
__UsbGpsDoState(p);
__VaudioDoState(p);
__HeapDoState(p);

Expand All @@ -272,6 +271,9 @@ void __KernelDoState(PointerWrap &p)
__sceAudiocodecDoState(p);
__VideoPmpDoState(p);
__AACDoState(p);
__UsbGpsDoState(p);

// IMPORTANT! Add new sections last!
}

{
Expand Down
2 changes: 1 addition & 1 deletion Core/HLE/sceUsbGps.cpp
Expand Up @@ -36,7 +36,7 @@ void __UsbGpsInit() {
}

void __UsbGpsDoState(PointerWrap &p) {
auto s = p.Section("sceUsbGps", 1, 4);
auto s = p.Section("sceUsbGps", 0, 1);
if (!s)
return;

Expand Down

0 comments on commit 709a86a

Please sign in to comment.