BUG: Cheat code values not sticking. [patch provided]
Posted: Tue Mar 15, 2011 7:34 pm
Hi,
I hope this is the correct place to report bugs.
VERSION: snes9x-gtk 1.52
ARCH: Linux amd64
ISSUE DESCRIPTION:
When using a known good Action Replay code (specifically: 7e9a1b64, which pins Ness's PP to 100 in Earthbound), Snes9x seems to apply the value once, but it doesn't 'stick', i.e. regular game events decrease this value as if the cheat was disabled.
Toggling the AR code off then on again resets Ness's PP to 100, but again, the value doesn't stick through usual game events (i.e. casting PSI spells).
I tested the same AR code in ZSNES; it works as expected there.
It looks like the algorithm that 'pins' the AR-specified byte in the emulated memory isn't called when an emulated CPU opcode attempts to modify that byte. Weird.
I hope this helps.
I hope this is the correct place to report bugs.
VERSION: snes9x-gtk 1.52
ARCH: Linux amd64
ISSUE DESCRIPTION:
When using a known good Action Replay code (specifically: 7e9a1b64, which pins Ness's PP to 100 in Earthbound), Snes9x seems to apply the value once, but it doesn't 'stick', i.e. regular game events decrease this value as if the cheat was disabled.
Toggling the AR code off then on again resets Ness's PP to 100, but again, the value doesn't stick through usual game events (i.e. casting PSI spells).
I tested the same AR code in ZSNES; it works as expected there.
It looks like the algorithm that 'pins' the AR-specified byte in the emulated memory isn't called when an emulated CPU opcode attempts to modify that byte. Weird.
I hope this helps.