DEMO_SELECT

This commit is contained in:
LagoLunatic
2025-07-25 21:05:36 -04:00
parent 4ebe6758cb
commit 72dc8f4ef6
43 changed files with 210 additions and 206 deletions
+4 -4
View File
@@ -406,7 +406,7 @@ BOOL DynamicModuleControl::do_link() {
do_load();
}
if (mModule != NULL) {
JUT_ASSERT(VERSION_SELECT(501, 613, 613, 613), mModule->info.sectionInfoOffset < 0x80000000);
JUT_ASSERT(DEMO_SELECT(501, 613), mModule->info.sectionInfoOffset < 0x80000000);
#if VERSION != VERSION_DEMO
JUT_ASSERT(615, (u32)mModule + mModule->fixSize < 0x82000000);
#endif
@@ -477,7 +477,7 @@ BOOL DynamicModuleControl::do_link() {
}
}
} else {
JUT_ASSERT(VERSION_SELECT(610, 724, 724, 724), FALSE);
JUT_ASSERT(DEMO_SELECT(610, 724), FALSE);
}
OSGetTime();
sAllocBytes = sAllocBytes + getModuleSize();
@@ -565,7 +565,7 @@ extern "C" void ModuleUnresolved() {
}
extern "C" void ModuleConstructorsX(void (**_ctors)()) {
JUT_ASSERT(VERSION_SELECT(726, 850, 850, 850), _ctors);
JUT_ASSERT(DEMO_SELECT(726, 850), _ctors);
while (*_ctors != 0) {
(**_ctors)();
_ctors++;
@@ -573,7 +573,7 @@ extern "C" void ModuleConstructorsX(void (**_ctors)()) {
}
extern "C" void ModuleDestructorsX(void (**_dtors)()) {
JUT_ASSERT(VERSION_SELECT(740, 864, 864, 864), _dtors);
JUT_ASSERT(DEMO_SELECT(740, 864), _dtors);
while (*_dtors != 0) {
(**_dtors)();
_dtors++;