mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Revert "Regression experiment: Temporarily revert to returning 0 from bad achievement memory accesses."
This reverts commit a044d8ccc2
.
This commit is contained in:
parent
3e682ea733
commit
50ea506b6a
1 changed files with 1 additions and 6 deletions
|
@ -166,13 +166,8 @@ static uint32_t read_memory_callback(uint32_t address, uint8_t *buffer, uint32_t
|
|||
WARN_LOG(G3D, "RetroAchievements PeekMemory: Bad address %08x (%d bytes) (%08x was passed in)", address, num_bytes, orig_address);
|
||||
}
|
||||
|
||||
// TEMPORARY EXPERIMENT:
|
||||
// Revert to returning 0.
|
||||
memset(buffer, 0, num_bytes);
|
||||
return num_bytes;
|
||||
|
||||
// This tells rcheevos that the access was bad, which should now be handled properly.
|
||||
// return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Memory::MemcpyUnchecked(buffer, address, num_bytes);
|
||||
|
|
Loading…
Add table
Reference in a new issue