shithub: zelda3

Download patch

ref: d9832e537c9d3c973bdefa02488a13e2ebca6993
parent: ad493b795d276bc6e882712114d4d48a07a00ae2
author: Snesrev <snesrev@protonmail.com>
date: Fri Sep 2 17:26:45 EDT 2022

Reload SRAM after reset. Fixes #47

--- a/main.c
+++ b/main.c
@@ -350,6 +350,7 @@
       break;
     case kKeys_Reset:
       snes_reset(g_snes, true);
+      ZeldaReadSram(g_snes);
       CopyStateAfterSnapshotRestore(true);
       break;
     case kKeys_Pause: g_paused = !g_paused; break;