diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-04 01:04:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 01:04:28 +0200 |
commit | df51eb9bdec5be189e0662ab81bc29277f3da343 (patch) | |
tree | dc1a5cf937fe77ccabb8dab97b5e9a5af9758c27 /src/core/tools/freezer.cpp | |
parent | Merge pull request #6275 from german77/mousefocus (diff) | |
parent | core: Resolve misc cases of variable shadowing (diff) | |
download | yuzu-df51eb9bdec5be189e0662ab81bc29277f3da343.tar yuzu-df51eb9bdec5be189e0662ab81bc29277f3da343.tar.gz yuzu-df51eb9bdec5be189e0662ab81bc29277f3da343.tar.bz2 yuzu-df51eb9bdec5be189e0662ab81bc29277f3da343.tar.lz yuzu-df51eb9bdec5be189e0662ab81bc29277f3da343.tar.xz yuzu-df51eb9bdec5be189e0662ab81bc29277f3da343.tar.zst yuzu-df51eb9bdec5be189e0662ab81bc29277f3da343.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/tools/freezer.cpp | 4 |
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!"); |