Sfoglia il codice sorgente

shader_header: Make local memory size getter constant

ReinUsesLisp 7 anni fa
parent
commit
a0c8c16d07
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/video_core/engines/shader_header.h

+ 1 - 1
src/video_core/engines/shader_header.h

@@ -106,7 +106,7 @@ struct Header {
         } ps;
     };
 
-    u64 GetLocalMemorySize() {
+    u64 GetLocalMemorySize() const {
         return (common1.shader_local_memory_low_size |
                 (common2.shader_local_memory_high_size << 24));
     }