Translate strings in fopAcM_entrySolidHeap

This commit is contained in:
LagoLunatic
2025-02-11 16:25:06 -05:00
parent 7297cbaf38
commit 458c40ede8
7 changed files with 40 additions and 26 deletions
+2 -2
View File
@@ -299,7 +299,7 @@ void* JKRExpHeap::allocFromTail(u32 size, int align) {
if (foundBlock != NULL) {
if (offset >= sizeof(CMemBlock)) {
newBlock->initiate(NULL, NULL, usedSize, mCurrentGroupId, -0x80);
newBlock->initiate(NULL, NULL, usedSize, mCurrentGroupId, 0x80);
foundBlock->size = foundBlock->size - usedSize - sizeof(CMemBlock);
appendUsedList(newBlock);
return newBlock->getContent();
@@ -311,7 +311,7 @@ void* JKRExpHeap::allocFromTail(u32 size, int align) {
return newBlock->getContent();
} else {
removeFreeBlock(foundBlock);
newBlock->initiate(NULL, NULL, usedSize, mCurrentGroupId, -0x80);
newBlock->initiate(NULL, NULL, usedSize, mCurrentGroupId, 0x80);
appendUsedList(newBlock);
return newBlock->getContent();
}