mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 14:11:43 +00:00
dmnt-cheat: const correctness
This commit is contained in:
parent
853a57e4d4
commit
4e95397ed5
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ bool DmntCheatVm::DecodeNextOpcode(CheatVmOpcode *out) {
|
|||
void DmntCheatVm::SkipConditionalBlock() {
|
||||
if (this->condition_depth > 0) {
|
||||
/* We want to continue until we're out of the current block. */
|
||||
size_t desired_depth = this->condition_depth - 1;
|
||||
const size_t desired_depth = this->condition_depth - 1;
|
||||
|
||||
CheatVmOpcode skip_opcode;
|
||||
while (this->DecodeNextOpcode(&skip_opcode) && this->condition_depth > desired_depth) {
|
||||
|
|
Loading…
Reference in a new issue