summaryrefslogtreecommitdiff
path: root/src/core/tools/freezer.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-03 16:04:28 -0700
committerGitHub <noreply@github.com>2021-05-03 16:04:28 -0700
commitdf51eb9bdec5be189e0662ab81bc29277f3da343 (patch)
treedc1a5cf937fe77ccabb8dab97b5e9a5af9758c27 /src/core/tools/freezer.cpp
parent898aa5fb6612e8c009fa65224ef9ea404448db59 (diff)
parentebb64d5bf4c6a1b3e89e7addbd72ca310be7807b (diff)
Merge pull request #6278 from lioncash/misc-shadow
core: Resolve misc straggler cases of variable shadowing
Diffstat (limited to 'src/core/tools/freezer.cpp')
-rw-r--r--src/core/tools/freezer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/tools/freezer.cpp b/src/core/tools/freezer.cpp
index 5c674a099..2e09faa6d 100644
--- a/src/core/tools/freezer.cpp
+++ b/src/core/tools/freezer.cpp
@@ -67,8 +67,8 @@ Freezer::~Freezer() {
core_timing.UnscheduleEvent(event, 0);
}
-void Freezer::SetActive(bool active) {
- if (!this->active.exchange(active)) {
+void Freezer::SetActive(bool is_active) {
+ if (!active.exchange(is_active)) {
FillEntryReads();
core_timing.ScheduleEvent(memory_freezer_ns, event);
LOG_DEBUG(Common_Memory, "Memory freezer activated!");