diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/memory/dmnt_cheat_vm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/memory/dmnt_cheat_vm.cpp b/src/core/memory/dmnt_cheat_vm.cpp index 0faebe951..2e7da23fe 100644 --- a/src/core/memory/dmnt_cheat_vm.cpp +++ b/src/core/memory/dmnt_cheat_vm.cpp | |||
| @@ -1173,7 +1173,8 @@ void DmntCheatVm::Execute(const CheatProcessMetadata& metadata) { | |||
| 1173 | } | 1173 | } |
| 1174 | } | 1174 | } |
| 1175 | } | 1175 | } |
| 1176 | } else if (auto rw_static_reg = std::get_if<ReadWriteStaticRegisterOpcode>(&cur_opcode.opcode)) { | 1176 | } else if (auto rw_static_reg = |
| 1177 | std::get_if<ReadWriteStaticRegisterOpcode>(&cur_opcode.opcode)) { | ||
| 1177 | if (rw_static_reg->static_idx < NumReadableStaticRegisters) { | 1178 | if (rw_static_reg->static_idx < NumReadableStaticRegisters) { |
| 1178 | // Load a register with a static register. | 1179 | // Load a register with a static register. |
| 1179 | registers[rw_static_reg->idx] = static_registers[rw_static_reg->static_idx]; | 1180 | registers[rw_static_reg->idx] = static_registers[rw_static_reg->static_idx]; |