Guess this does actually work

This commit is contained in:
robojumper
2024-05-20 23:38:12 +02:00
parent 2a612801ad
commit 6449215af3
+1 -1
View File
@@ -222,7 +222,7 @@ BOOL DynamicModuleControl::do_link() {
if (mModule != nullptr) {
int alignedFixSize = ROUND_UP(mModule->fixSize, 0x20);
int alignedFixPtr = (int)&mModule->info + alignedFixSize;
int alignedFixPtr = (int)mModule + alignedFixSize;
int totalSize = EGG::ExpHeap::getSizeForMBlock(mModule);
BOOL result;
if (totalSize == 0) {