RetroAchievements / RAIntegration

The DLL responsible to integrate emulators with RetroAchievements.org
https://retroachievements.org
MIT License
98 stars 22 forks source link

use correct address for notification event when not on first memory block #863

Closed Jamiras closed 2 years ago

Jamiras commented 2 years ago

Fixes issue where a frozen memory address on a memory block other than the first (usually labelled as something other than System RAM) could not be modified.

The address being modified was mutated to reflect the offset within the appropriate block. This was then passed as the modified address to the event handlers, which were expecting the original address. As a result, the bookmark was not immediately updated and the frozen value was written back into memory on the next frame.