Skip to content

Commit

Permalink
snes cheat, oops
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Nov 14, 2024
1 parent 714b7f1 commit 3bc7b72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/burn/drv/snes/snes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ static void snes_add_cheat(char *code)

if (!gg_decode(code, address, value) && cheats_active < (cheat_MAX-1)) {
strncpy(cheats[cheats_active].code, code, 9);
cheats[cheats_active].code[9] = '\0';
cheats[cheats_active].address = address;
cheats[cheats_active].value = value;
bprintf(0, _T("cheat #%d (%S) added. (%x, %x)\n"), cheats_active, cheats[cheats_active].code, address, value);
Expand Down

0 comments on commit 3bc7b72

Please sign in to comment.