MCPcopy Create free account
hub / github.com/0ldsk00l/nestopia / ClearCodes

Method ClearCodes

source/core/NstCheats.cpp:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 void Cheats::ClearCodes()
150 {
151 loCodes.Destroy();
152
153 for (const HiCode *it=hiCodes.Begin(), *const end=hiCodes.End(); it != end; ++it)
154 cpu.Unlink( it->address, this, &Cheats::Peek_Wizard, &Cheats::Poke_Wizard );
155
156 hiCodes.Destroy();
157 }
158
159 Result Cheats::GetCode
160 (

Callers 3

UpdateMethod · 0.45
FlushMethod · 0.45
jg_cheat_clearFunction · 0.45

Calls 4

UnlinkMethod · 0.80
DestroyMethod · 0.45
BeginMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected