RSP: use __debugbreak not DebugBreak

This commit is contained in:
zilmar 2023-08-24 10:44:45 +09:30
parent 47f14016e6
commit 625f532d73
3 changed files with 7 additions and 4 deletions

View File

@ -75,6 +75,9 @@ EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64-rsp", "Source\Project64-rsp\Project64-rsp.vcxproj", "{A7ED562C-63F3-4B7E-B6B3-2CF7848752E1}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64-rsp-core", "Source\Project64-rsp-core\Project64-rsp-core.vcxproj", "{7598F6B8-9DA6-4897-B26F-F6865F824BF4}"
ProjectSection(ProjectDependencies) = postProject
{1968162C-0793-491D-91A1-81645A24D399} = {1968162C-0793-491D-91A1-81645A24D399}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -47,7 +47,7 @@ public:
m_StartTimeHi = HiValue;
m_StartTimeLo = LoValue;
#else
DebugBreak();
__debugbreak();
#endif
return OldTimerAddr;
}
@ -82,7 +82,7 @@ public:
m_Entries.insert(PROFILE_ENRTIES::value_type(m_CurrentTimerAddr, TimeTaken));
}
#else
DebugBreak();
__debugbreak();
#endif
uint32_t OldTimerAddr = m_CurrentTimerAddr;

View File

@ -1002,7 +1002,7 @@ uint32_t RunRecompilerCPU(uint32_t Cycles)
popad
}
#else
DebugBreak();
__debugbreak();
#endif
if (Profiling && IndvidualBlock)
{
@ -1019,7 +1019,7 @@ uint32_t RunRecompilerCPU(uint32_t Cycles)
#if defined(_M_IX86) && defined(_MSC_VER)
_asm emms
#else
DebugBreak();
__debugbreak();
#endif
}
return Cycles;