summaryrefslogtreecommitdiff
path: root/src/core/tools
diff options
context:
space:
mode:
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() {
67 core_timing.UnscheduleEvent(event, 0); 67 core_timing.UnscheduleEvent(event, 0);
68} 68}
69 69
70void Freezer::SetActive(bool active) { 70void Freezer::SetActive(bool is_active) {
71 if (!this->active.exchange(active)) { 71 if (!active.exchange(is_active)) {
72 FillEntryReads(); 72 FillEntryReads();
73 core_timing.ScheduleEvent(memory_freezer_ns, event); 73 core_timing.ScheduleEvent(memory_freezer_ns, event);
74 LOG_DEBUG(Common_Memory, "Memory freezer activated!"); 74 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:
43 ~Freezer(); 43 ~Freezer();
44 44
45 // Enables or disables the entire memory freezer. 45 // Enables or disables the entire memory freezer.
46 void SetActive(bool active); 46 void SetActive(bool is_active);
47 47
48 // Returns whether or not the freezer is active. 48 // Returns whether or not the freezer is active.
49 bool IsActive() const; 49 bool IsActive() const;