mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Fix cheevos using work RAM mirrors.
This commit is contained in:
parent
8e3a524749
commit
bccdd8dfbe
@ -879,6 +879,10 @@ void cheevos_parse_guest_addr(cheevos_var_t *var, unsigned value)
|
|||||||
var->bank_id = -1;
|
var->bank_id = -1;
|
||||||
var->value = value;
|
var->value = value;
|
||||||
|
|
||||||
|
if ( cheevos_locals.console_id == CHEEVOS_CONSOLE_NINTENDO
|
||||||
|
&& var->value < 0x2000)
|
||||||
|
var->value &= 0x07ff;
|
||||||
|
|
||||||
if (system->mmaps.num_descriptors != 0)
|
if (system->mmaps.num_descriptors != 0)
|
||||||
{
|
{
|
||||||
const struct retro_memory_descriptor *desc = NULL;
|
const struct retro_memory_descriptor *desc = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user