wip debug / pal building, b_gm mostly done (#2285)

* b_gm mostly done

* wip debug / pal building

* fix configure.py

* fix some debug macros / flags
This commit is contained in:
TakaRikka
2025-01-16 09:37:39 -08:00
committed by GitHub
parent 6de1e50099
commit 0894b6ef34
1524 changed files with 202897 additions and 2955 deletions
+2
View File
@@ -119,6 +119,8 @@ private:
/* 0x6D4 */ JAISoundParamsMove mParams;
}; // Size: 0x724
#if VERSION != VERSION_SHIELD_DEBUG
STATIC_ASSERT(sizeof(JAISeMgr) == 0x724);
#endif
#endif /* JAISEMGR_H */
@@ -277,7 +277,7 @@ public:
}
void data_setInterval(f64 f) {
ASSERT(f > TValue(0));
// ASSERT(f > TValue(0));
_50 = f;
}
+2 -13
View File
@@ -4,18 +4,8 @@
#include "dolphin/os.h"
#ifdef DEBUG
#define JUT_ASSERT(LINE, COND) \
if ((COND) == 0) { \
JUTAssertion::showAssert(JUTAssertion::getSDevice(), __FILE__, LINE, #COND); \
OSPanic(__FILE__, LINE, "Halt"); \
}
#define JUT_ASSERT_REPORT(LINE, COND) \
if ((COND) == 0) { \
JUTAssertion::showAssert(JUTAssertion::getSDevice(), __FILE__, LINE, #COND); \
OSPanic(__FILE__, LINE, "Halt"); \
OSReport("[%s] %d\n", __FILE__, __LINE__); \
}
#define JUT_ASSERT(LINE, COND) \
(COND) ? (void)0 : (JUTAssertion::showAssert(JUTAssertion::getSDevice(), __FILE__, LINE, #COND), OSPanic(__FILE__, LINE, "Halt"));
#define JUT_PANIC(LINE, TEXT) \
JUTAssertion::showAssert(JUTAssertion::getSDevice(), __FILE__, LINE, TEXT); \
@@ -32,7 +22,6 @@
#else
#define JUT_ASSERT(...)
#define JUT_ASSERT_REPORT(...)
#define JUT_PANIC(...)
#define JUT_WARN(...)
#define JUT_LOG(...)