Explorar el Código

arm_interface: Make GetNumInstructions const

Lioncash hace 10 años
padre
commit
1ea0702eaa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/arm/arm_interface.h

+ 1 - 1
src/core/arm/arm_interface.h

@@ -142,7 +142,7 @@ public:
     virtual void PrepareReschedule() = 0;
 
     /// Getter for num_instructions
-    u64 GetNumInstructions() {
+    u64 GetNumInstructions() const {
         return num_instructions;
     }