early-access version 1655

This commit is contained in:
pineappleEA
2021-05-05 10:10:21 +02:00
parent 371f9bcb84
commit 6de45b5596
81 changed files with 378 additions and 303 deletions

View File

@@ -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!");

View File

@@ -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;