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.
Judge, Skilled player (1275)
Joined: 9/12/2016
Posts: 1645
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"