Replace MSVC __debugbreak with cross-compiler DEBUG_BREAK macro. (#1540)
This commit is contained in:
@@ -1619,7 +1619,7 @@ RADDEFSTART
|
||||
#define RR_BREAK() __builtin_trap()
|
||||
#define RR_CACHE_LINE_SIZE 32
|
||||
#elif defined(__RADXENON__)
|
||||
#define RR_BREAK() __debugbreak()
|
||||
#define RR_BREAK() DEBUG_BREAK()
|
||||
#define RR_CACHE_LINE_SIZE 128
|
||||
#elif defined(__RADANDROID__)
|
||||
#define RR_BREAK() __builtin_trap()
|
||||
|
||||
@@ -245,7 +245,7 @@ bool OrbisLeaderboardManager::getScoreByIds()
|
||||
{
|
||||
// 4J-JEV: Something terrible must have happend,
|
||||
// 'getFriendslist' was supposed to be a synchronous operation.
|
||||
__debugbreak();
|
||||
DEBUG_BREAK();
|
||||
|
||||
// 4J-JEV: We can at least fall-back to just the players score.
|
||||
num = 1;
|
||||
|
||||
@@ -1619,7 +1619,7 @@ RADDEFSTART
|
||||
#define RR_BREAK() __builtin_trap()
|
||||
#define RR_CACHE_LINE_SIZE 32
|
||||
#elif defined(__RADXENON__)
|
||||
#define RR_BREAK() __debugbreak()
|
||||
#define RR_BREAK() DEBUG_BREAK()
|
||||
#define RR_CACHE_LINE_SIZE 128
|
||||
#elif defined(__RADANDROID__)
|
||||
#define RR_BREAK() __builtin_trap()
|
||||
|
||||
Reference in New Issue
Block a user