Stub out most of DynamicLink.cpp and more of c_dylink.cpp

This code wasn't used (no dynamic linking) and was causing various compiler warnings that don't make sense to clean up. Get rid of it.
This commit is contained in:
PJB3005
2026-04-11 19:46:22 +02:00
parent f735a07dca
commit c77ade5f24
2 changed files with 13 additions and 0 deletions
+5
View File
@@ -14,6 +14,7 @@
#include "os_report.h"
#include "dusk/logging.h"
#if !TARGET_PC
DynamicModuleControlBase* DynamicModuleControlBase::mFirst;
DynamicModuleControlBase* DynamicModuleControlBase::mLast;
@@ -139,6 +140,7 @@ DynamicModuleControl::DynamicModuleControl(char const* name) {
mSize = 0;
mAsyncLoadCallback = NULL;
}
#endif
u32 DynamicModuleControl::sAllocBytes;
@@ -169,6 +171,7 @@ bool DynamicModuleControl::initialize() {
return true;
}
#if !TARGET_PC
bool DynamicModuleControl::callback(void* moduleControlPtr) {
DynamicModuleControl* moduleControl = (DynamicModuleControl*)moduleControlPtr;
return moduleControl->do_load();
@@ -484,3 +487,5 @@ extern "C" void ModuleDestructorsX(void (*const *dtors)()) {
dtors++;
}
}
#endif