From dbc2d233fba5f8471d4caa5e1141e51638d4214a Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Tue, 9 May 2017 20:53:25 -0500 Subject: [PATCH] (for now) Stub X64Context out on non-AMD64 platforms --- src/xenia/base/x64_context.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/xenia/base/x64_context.h b/src/xenia/base/x64_context.h index 052193bb3..c868e9ed8 100644 --- a/src/xenia/base/x64_context.h +++ b/src/xenia/base/x64_context.h @@ -10,15 +10,21 @@ #ifndef XENIA_BASE_X64_CONTEXT_H_ #define XENIA_BASE_X64_CONTEXT_H_ -#include - #include #include +#include "xenia/base/platform.h" #include "xenia/base/vec128.h" +#if XE_ARCH_AMD64 +#include +#endif + namespace xe { +class X64Context; + +#if XE_ARCH_AMD64 enum class X64Register { // NOTE: this order matches 1:1 with the order in the X64Context. // NOTE: this order matches 1:1 with a string table in the x64_context.cc. @@ -110,6 +116,7 @@ class X64Context { std::string GetStringFromValue(X64Register reg, bool hex) const; void SetValueFromString(X64Register reg, std::string value, bool hex); }; +#endif // XE_ARCH_AMD64 } // namespace xe