rsp: fix up the code so it compiles on x86

This commit is contained in:
zilmar 2025-04-11 18:59:30 +09:30
parent 14f033bce4
commit 8c751cc22f
3 changed files with 5 additions and 1 deletions

View File

@ -270,6 +270,7 @@ bool CHleTask::ProcessHleTask(void)
return false; return false;
} }
#if defined(__amd64__) || defined(_M_X64)
bool CHleTask::HleTaskRecompiler(void) bool CHleTask::HleTaskRecompiler(void)
{ {
const TASK_INFO & TaskInfo = *((TASK_INFO *)(m_DMEM + 0xFC0)); const TASK_INFO & TaskInfo = *((TASK_INFO *)(m_DMEM + 0xFC0));
@ -295,3 +296,4 @@ bool CHleTask::HleTaskRecompiler(void)
} }
return true; return true;
} }
#endif

View File

@ -74,7 +74,6 @@ void CRSPRecompiler::CompileHLETask(uint32_t Address)
CPULog->Flush(); CPULog->Flush();
m_CodeLog.clear(); m_CodeLog.clear();
} }
#endif
} }
void CRSPRecompiler::Log(_Printf_format_string_ const char * Text, ...) void CRSPRecompiler::Log(_Printf_format_string_ const char * Text, ...)
@ -117,3 +116,4 @@ uintptr_t CRSPRecompiler::GetAddressOf(int value, ...)
return (uintptr_t)Address; return (uintptr_t)Address;
} }
#endif

View File

@ -131,7 +131,9 @@ void CRSPSystem::Reset(RSP_INFO & Info)
{ {
m_SyncSystem->Reset(Info); m_SyncSystem->Reset(Info);
} }
#if defined(__amd64__) || defined(_M_X64)
m_Recompiler.Reset(); m_Recompiler.Reset();
#endif
} }
void CRSPSystem::RomClosed(void) void CRSPSystem::RomClosed(void)