Fix some achievements for NES.

This commit is contained in:
Andre Leiradella 2016-11-03 20:16:00 +00:00
parent d342852415
commit e92aa45815

View File

@ -930,6 +930,10 @@ void cheevos_parse_guest_addr(cheevos_var_t *var, unsigned value)
break;
}
/* HACK subtract the correct ammount of bytes to reach the save RAM */
if (i == 0 && cheevos_locals.console_id == CHEEVOS_CONSOLE_NINTENDO)
var->value -= 0x6000;
else
var->value -= cheevos_locals.meminfo[i].size;
}
}