MCPcopy Create free account
hub / github.com/TASEmulators/fceux / ToggleCheats

Function ToggleCheats

src/input.cpp:1302–1310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1300extern int globalCheatDisabled;
1301extern unsigned int FrozenAddressCount;
1302static void ToggleCheats()
1303{
1304 FCEUI_GlobalToggleCheat(globalCheatDisabled);
1305 FCEU_DispMessage("%d cheats active", 0, FrozenAddressCount);
1306 #ifdef __WIN_DRIVER__
1307 UpdateCheatRelatedWindow();
1308 UpdateCheatListGroupBoxUI();
1309 #endif
1310}
1311
1312static void DebuggerStepInto()
1313{

Callers

nothing calls this directly

Calls 4

FCEUI_GlobalToggleCheatFunction · 0.85
FCEU_DispMessageFunction · 0.85
UpdateCheatRelatedWindowFunction · 0.85

Tested by

no test coverage detected