Skip to content

Commit

Permalink
Merge pull request #18668 from Florin9doi/gps_savestate
Browse files Browse the repository at this point in the history
GPS: Set valid values and request updates on savestate loading
  • Loading branch information
hrydgard authored Jan 6, 2024
2 parents 90ce29a + b3a1772 commit 53cfe52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Core/HLE/sceUsbGps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ void __UsbGpsDoState(PointerWrap &p) {
return;

Do(p, gpsStatus);
if (gpsStatus == GPS_STATE_ON) {
GPS::init();
System_GPSCommand("open");
}
}

void __UsbGpsShutdown() {
Expand Down

0 comments on commit 53cfe52

Please sign in to comment.