clang-format

This commit is contained in:
VolcaEM 2020-07-15 01:22:52 +02:00 committed by GitHub
parent b608acd688
commit e90802e762
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) { if (rw_static_reg->static_idx < NumReadableStaticRegisters) {
// Load a register with a static register. // Load a register with a static register.
registers[rw_static_reg->idx] = static_registers[rw_static_reg->static_idx]; registers[rw_static_reg->idx] = static_registers[rw_static_reg->static_idx];