Post subject: Cheats from a technical standpoint
Joined: 5/4/2012
Posts: 10
Is there anyone who can help me navigate the BizHawk source code and find where cheats are actually processed? I've found the code for the cheat dialog, but I'm more interested in how they're actually implemented when they change RAM, specifically for Z80-based machines like the Game Boy and Master System.
Editor, Reviewer, Skilled player (1360)
Joined: 9/12/2016
Posts: 1646
Location: Italy
I'm pretty sure that the RAM values get overwritten at the beginning of each emulated frame. In fact, from my tests it seems that games have no problem in overwriting whatever value they want, even if there are cheats active. Not sure if this is a good thing, though.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"