mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-24 03:29:22 +01:00
SRAM bugfix - SRAM loading works now
This commit is contained in:
parent
263e039b57
commit
59b357a855
@ -114,7 +114,7 @@ decodesavedata (int method, int readsize)
|
||||
if ( (strncmp (sramsavecomment, "Snes9x GX 0", 11) == 0) )
|
||||
{
|
||||
// adjust offset
|
||||
if(method == METHOD_MC_SLOTA && method == METHOD_MC_SLOTB)
|
||||
if(method != METHOD_MC_SLOTA && method != METHOD_MC_SLOTB)
|
||||
offset = 512; // skip entire 512 byte header
|
||||
else
|
||||
offset += 64; // skip savecomments
|
||||
|
Loading…
Reference in New Issue
Block a user