SRAM bugfix - SRAM loading works now

This commit is contained in:
dborth 2008-09-09 22:38:02 +00:00
parent 263e039b57
commit 59b357a855

View File

@ -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