| 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 | ( |