summaryrefslogtreecommitdiffstats
path: root/src/core/tools
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-03 04:14:15 +0200
committerLioncash <mathew1800@gmail.com>2021-05-03 07:19:13 +0200
commitebb64d5bf4c6a1b3e89e7addbd72ca310be7807b (patch)
tree024cebd87e461cc8212810576b0e759321911f1f /src/core/tools
parentMerge pull request #6269 from lioncash/file-shadow (diff)
downloadyuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.tar
yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.tar.gz
yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.tar.bz2
yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.tar.lz
yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.tar.xz
yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.tar.zst
yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.zip
Diffstat (limited to 'src/core/tools')
-rw-r--r--src/core/tools/freezer.cpp4
-rw-r--r--src/core/tools/freezer.h2
2 files changed, 3 insertions, 3 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!");
diff --git a/src/core/tools/freezer.h b/src/core/tools/freezer.h
index 0fdb701a7..067134e93 100644
--- a/src/core/tools/freezer.h
+++ b/src/core/tools/freezer.h
@@ -43,7 +43,7 @@ public:
~Freezer();
// Enables or disables the entire memory freezer.
- void SetActive(bool active);
+ void SetActive(bool is_active);
// Returns whether or not the freezer is active.
bool IsActive() const;