diff --git a/src/core/memory.cpp b/src/core/memory.cpp index ee871ef53b..54a8489365 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -646,7 +646,7 @@ struct Memory::Impl { template T Read(const VAddr vaddr) { // Avoid adding any extra logic to this fast-path block - if (const u8* const pointer = current_page_table->pointers[vaddr >> PAGE_BITS]; pointer) { + if (const u8* const pointer = current_page_table->pointers[vaddr >> PAGE_BITS]) { T value; std::memcpy(&value, &pointer[vaddr], sizeof(T)); return value;