Ver código fonte

Memory: Don't protect reads on Normal accuracy.

Fernando Sahmkow 4 anos atrás
pai
commit
a2d7b2f905
1 arquivos alterados com 1 adições e 1 exclusões
  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);
         }