Cheats: Ignore 00 code
This commit is contained in:
@ -392,6 +392,12 @@ void CheatCode::Apply() const
|
||||
const Instruction& inst = instructions[index];
|
||||
switch (inst.code)
|
||||
{
|
||||
case InstructionCode::Nop:
|
||||
{
|
||||
index++;
|
||||
}
|
||||
break;
|
||||
|
||||
case InstructionCode::ConstantWrite8:
|
||||
{
|
||||
CPU::SafeWriteMemoryByte(inst.address, inst.value8);
|
||||
|
||||
Reference in New Issue
Block a user