mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 20:54:10 +00:00
Merge pull request #12005 from Jamiras/rcheevos_invalid_addr_range
(cheevos) don't invalidate out-of-range addresses
This commit is contained in:
commit
8e35fc6c53
@ -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