Dolphin, the GameCube and Wii emulator - Forums
Suggestion to solve the cheat code problem - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: Suggestion to solve the cheat code problem (/Thread-suggestion-to-solve-the-cheat-code-problem)



Suggestion to solve the cheat code problem - CosmoCortney - 01-21-2016

Hello,
people who use cheat codes with Dolphin may have noticed that they don't always work as they should.
This can be easily explained:
Dolphin writes the cheat codes into the virtual memory and the changes can be overwritten by the game for a moment.
The result is that cheats behave weird (Moon jump doesn't work in WW).
But cheats do flawlessly work on a physical console because the cheats are "executed" by a code handler the console executes every single frame.
There it doesn't matter whether the game attempts to overwrite the cheated value or not. The code handler's PPC will write/execute the cheat every single frame.
So Dolphin could also apply a PPC based code handler to solve this problem.

(to still allow an unlimited amount of cheats Dolphin could map a few kBytes of virtual memory where the code handler and cheats can be stored)