SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit cc495c2602ec2f0edc3ef2a22507bed5bbfd097d parent a2a19ae31f982f0787391abb6bb41d95dda1bda5 Author: Lior Halphon <2345928+LIJI32@users.noreply.github.com> Date: Fri, 14 Nov 2025 20:40:36 +0200 Merge pull request #732 from AZero13/cheats Removal of cheats should be based on cheat_count, not gb_cheats Diffstat:
| M | Core/cheats.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Core/cheats.c b/Core/cheats.c @@ -143,7 +143,7 @@ void GB_remove_cheat(GB_gameboy_t *gb, const GB_cheat_t *cheat) void GB_remove_all_cheats(GB_gameboy_t *gb) { - while (gb->cheats) { + while (gb->cheat_count) { GB_remove_cheat(gb, gb->cheats[0]); } }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.