[RSP] Disable MSVC-specific 32-bit-only code for non-MSVC.

This commit is contained in:
unknown 2015-10-29 20:23:36 -04:00
parent c8401cd9d3
commit 1e395a9449
3 changed files with 5 additions and 5 deletions

View File

@ -273,7 +273,7 @@ void DetectCpuSpecs(void)
DWORD AMD_Features = 0; DWORD AMD_Features = 0;
__try { __try {
#ifdef _M_IX86 #if defined(_M_IX86) && defined(_MSC_VER)
_asm { _asm {
/* Intel features */ /* Intel features */
mov eax, 1 mov eax, 1

View File

@ -59,7 +59,7 @@ public:
DWORD OldTimerAddr = StopTimer(); DWORD OldTimerAddr = StopTimer();
m_CurrentTimerAddr = Address; m_CurrentTimerAddr = Address;
#ifdef _M_IX86 #if defined(_M_IX86) && defined(_MSC_VER)
DWORD HiValue, LoValue; DWORD HiValue, LoValue;
_asm { _asm {
pushad pushad
@ -79,7 +79,7 @@ public:
{ {
if (m_CurrentTimerAddr == Timer_None) { return m_CurrentTimerAddr; } if (m_CurrentTimerAddr == Timer_None) { return m_CurrentTimerAddr; }
#ifdef _M_IX86 #if defined(_M_IX86) && defined(_MSC_VER)
DWORD HiValue, LoValue; DWORD HiValue, LoValue;
_asm { _asm {
pushad pushad

View File

@ -933,7 +933,7 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) {
StartTimer(*PrgCount); StartTimer(*PrgCount);
} }
#ifdef _M_IX86 #if defined(_M_IX86) && defined(_MSC_VER)
_asm { _asm {
pushad pushad
call Block call Block
@ -952,7 +952,7 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) {
} }
if (IsMmxEnabled == TRUE) { if (IsMmxEnabled == TRUE) {
#ifdef _M_IX86 #if defined(_M_IX86) && defined(_MSC_VER)
_asm emms _asm emms
#else #else
DebugBreak(); DebugBreak();