mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
don't invalidate out-of-range addresses
This commit is contained in:
parent
bfdebf2753
commit
88fe6e82ca
@ -501,7 +501,9 @@ static unsigned rcheevos_peek(unsigned address, unsigned num_bytes, void* ud)
|
||||
}
|
||||
}
|
||||
|
||||
rcheevos_invalidate_address(address);
|
||||
if (address < rcheevos_locals.memory.total_size)
|
||||
rcheevos_invalidate_address(address);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user