Explorar o código

Memory: Don't protect reads on Normal accuracy.

Fernando Sahmkow %!s(int64=4) %!d(string=hai) anos
pai
achega
a2d7b2f905
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/memory.cpp

+ 1 - 1
src/core/memory.cpp

@@ -322,7 +322,7 @@ struct Memory::Impl {
         }
 
         if (Settings::IsFastmemEnabled()) {
-            const bool is_read_enable = Settings::IsGPULevelHigh() || !cached;
+            const bool is_read_enable = !Settings::IsGPULevelExtreme() || !cached;
             system.DeviceMemory().buffer.Protect(vaddr, size, is_read_enable, !cached);
         }