From f0eef4df749162382c60341ac4799ac9263b40fa Mon Sep 17 00:00:00 2001 From: no Date: Mon, 21 Dec 2015 18:21:39 -0500 Subject: [PATCH] [core] fixed undeclared SSE2 intrinsics on non-Win32 --- Source/Project64-core/N64System/N64Types.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Source/Project64-core/N64System/N64Types.h b/Source/Project64-core/N64System/N64Types.h index 7f682430f..4bc0cee01 100644 --- a/Source/Project64-core/N64System/N64Types.h +++ b/Source/Project64-core/N64System/N64Types.h @@ -12,6 +12,17 @@ #include +/* + * The limits of COP1 extend to native SSE2 register capabilities, but for + * now this is only being included to dodge the MSVC inline asm for x86. + * + * As better cross-platform methods of handling FP precision are implemented + * for non-Intel-architecture builds, this #include may become obsolete. + */ +#if defined(__i386) || defined(__x86_64__) || defined(_M_X64) +#include +#endif + enum PauseType { PauseType_FromMenu,