diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-07-25 21:05:36 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-07-25 21:05:36 -0400 |
| commit | 72dc8f4ef64d3ef1674beb5fc8ebd15768174891 (patch) | |
| tree | 8aa475a13a77259526ec9f2d529baf432639bc29 /src/DynamicLink.cpp | |
| parent | 4ebe6758cb08b4cd12b598d02b62de0df2c4b659 (diff) | |
DEMO_SELECT
Diffstat (limited to 'src/DynamicLink.cpp')
| -rw-r--r-- | src/DynamicLink.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DynamicLink.cpp b/src/DynamicLink.cpp index 304c787f..b7a2f66e 100644 --- a/src/DynamicLink.cpp +++ b/src/DynamicLink.cpp @@ -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++; |
