VolcaEM
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
src/core/memory/dmnt_cheat_vm.cpp
|
|
|
@ -1173,7 +1173,8 @@ void DmntCheatVm::Execute(const CheatProcessMetadata& metadata) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (auto rw_static_reg = std::get_if<ReadWriteStaticRegisterOpcode>(&cur_opcode.opcode)) { |
|
|
|
} else if (auto rw_static_reg = |
|
|
|
std::get_if<ReadWriteStaticRegisterOpcode>(&cur_opcode.opcode)) { |
|
|
|
if (rw_static_reg->static_idx < NumReadableStaticRegisters) { |
|
|
|
// Load a register with a static register.
|
|
|
|
registers[rw_static_reg->idx] = static_registers[rw_static_reg->static_idx]; |
|
|
|
|