[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;
__try {
#ifdef _M_IX86
#if defined(_M_IX86) && defined(_MSC_VER)
_asm {
/* Intel features */
mov eax, 1

View File

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

View File

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