From 8a788ebdd9d6e96f1db3b37aed5f176f2d4854ff Mon Sep 17 00:00:00 2001 From: MerryMage Date: Tue, 21 Mar 2017 16:45:48 +0000 Subject: [PATCH] JitAsm: Add missing forward declaration of X64CodeBlock --- Source/Core/Core/PowerPC/Jit64/JitAsm.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/Jit64/JitAsm.h b/Source/Core/Core/PowerPC/Jit64/JitAsm.h index 3166f7931d..2cdac46b45 100644 --- a/Source/Core/Core/PowerPC/Jit64/JitAsm.h +++ b/Source/Core/Core/PowerPC/Jit64/JitAsm.h @@ -7,6 +7,11 @@ #include "Common/CommonTypes.h" #include "Core/PowerPC/Jit64Common/Jit64AsmCommon.h" +namespace Gen +{ +class X64CodeBlock; +} + // In Dolphin, we don't use inline assembly. Instead, we generate all machine-near // code at runtime. In the case of fixed code like this, after writing it, we write // protect the memory, essentially making it work just like precompiled code. @@ -40,5 +45,5 @@ public: } void Shutdown() { FreeCodeSpace(); } - void ResetStack(X64CodeBlock& emitter); + void ResetStack(Gen::X64CodeBlock& emitter); };