Explorar o código

shader_header: Make local memory size getter constant

ReinUsesLisp %!s(int64=7) %!d(string=hai) anos
pai
achega
a0c8c16d07
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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));
     }