From 18f5deede7fc307d5ceda598984bd535e1113584 Mon Sep 17 00:00:00 2001 From: tellowkrinkle Date: Wed, 15 Jul 2020 00:56:58 -0500 Subject: [PATCH] Reduce header dependencies on x86Emitter (#3545) --- common/include/x86emitter/tools.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/include/x86emitter/tools.h b/common/include/x86emitter/tools.h index 58541f81ba..335ef49095 100644 --- a/common/include/x86emitter/tools.h +++ b/common/include/x86emitter/tools.h @@ -15,8 +15,6 @@ #pragma once -#include "x86emitter.h" - enum x86VendorType { x86Vendor_Intel = 0, x86Vendor_AMD = 1, @@ -135,6 +133,12 @@ enum SSE_RoundMode { ImplementEnumOperators(SSE_RoundMode); +// Predeclaration for xIndirect32 +namespace x86Emitter { + template class xIndirect; + typedef xIndirect xIndirect32; +} + // -------------------------------------------------------------------------------------- // SSE_MXCSR - Control/Status Register (bitfield) // --------------------------------------------------------------------------------------