diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h index 21d19a88f6..fe10691192 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h @@ -30,7 +30,7 @@ class FarCodeCache : public Gen::X64CodeBlock private: bool m_enabled = false; public: - bool Enabled() { return m_enabled; } + bool Enabled() const { return m_enabled; } void Init(int size) { AllocCodeSpace(size); m_enabled = true; } void Shutdown() { FreeCodeSpace(); m_enabled = false; } };