aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory/cheat_engine.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-02 22:14:15 -0400
committerLioncash <mathew1800@gmail.com>2021-05-03 01:19:13 -0400
commitebb64d5bf4c6a1b3e89e7addbd72ca310be7807b (patch)
tree024cebd87e461cc8212810576b0e759321911f1f /src/core/memory/cheat_engine.cpp
parentc17a59b58e4c78dfee976dabddd13c3c6fdf95b7 (diff)
core: Resolve misc cases of variable shadowing
Resolves shadowing warnings that aren't in a particularly large subsection of core. Brings us closer to turning -Wshadow into an error. All that remains now is for cases in the kernel (left untouched for now since a big change by bunnei is pending), and a few left over in the service code (will be tackled next).
Diffstat (limited to 'src/core/memory/cheat_engine.cpp')
-rw-r--r--src/core/memory/cheat_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp
index 8eec567ab..7643b7846 100644
--- a/src/core/memory/cheat_engine.cpp
+++ b/src/core/memory/cheat_engine.cpp
@@ -222,8 +222,8 @@ void CheatEngine::SetMainMemoryParameters(VAddr main_region_begin, u64 main_regi
};
}
-void CheatEngine::Reload(std::vector<CheatEntry> cheats) {
- this->cheats = std::move(cheats);
+void CheatEngine::Reload(std::vector<CheatEntry> reload_cheats) {
+ cheats = std::move(reload_cheats);
is_pending_reload.exchange(true);
}