Permalink
Browse files

Fix savestates from before 1.4.2-420. Fixes #9998. Unfortunately this…

… 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 709a86a154e2412bc4b811ed604f026ca2721b32
Showing with 4 additions and 2 deletions.
  1. +3 −1 Core/HLE/sceKernel.cpp
  2. +1 −1 Core/HLE/sceUsbGps.cpp
View
@@ -263,7 +263,6 @@ void __KernelDoState(PointerWrap &p)
__UmdDoState(p);
__UtilityDoState(p);
__UsbDoState(p);
__UsbGpsDoState(p);
__VaudioDoState(p);
__HeapDoState(p);
@@ -272,6 +271,9 @@ void __KernelDoState(PointerWrap &p)
__sceAudiocodecDoState(p);
__VideoPmpDoState(p);
__AACDoState(p);
__UsbGpsDoState(p);
// IMPORTANT! Add new sections last!
}
{
View
@@ -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;

0 comments on commit 709a86a

Please sign in to comment.