mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-11 14:38:38 -04:00
DEMO_SELECT
This commit is contained in:
@@ -124,7 +124,7 @@ s32 JKRDvdFile::readData(void* param_1, s32 length, s32 param_3) {
|
||||
/* 802BCBCC-802BCC24 .text writeData__10JKRDvdFileFPCvll */
|
||||
s32 JKRDvdFile::writeData(const void* param_0, s32 length, s32 param_2) {
|
||||
/* clang-format off */
|
||||
JUT_ASSERT(VERSION_SELECT(364, 340, 340, 340), ( length & 0x1f ) == 0);
|
||||
JUT_ASSERT(DEMO_SELECT(364, 340), ( length & 0x1f ) == 0);
|
||||
/* clang-format on */
|
||||
|
||||
return -1;
|
||||
|
||||
@@ -361,7 +361,7 @@ void JKRExpHeap::do_free(void* ptr) {
|
||||
block->free(this);
|
||||
}
|
||||
} else {
|
||||
JUT_WARN(VERSION_SELECT(885, 888, 888, 888), "free: memblock %x not in heap %x", ptr, this);
|
||||
JUT_WARN(DEMO_SELECT(885, 888), "free: memblock %x not in heap %x", ptr, this);
|
||||
}
|
||||
unlock();
|
||||
}
|
||||
@@ -548,7 +548,7 @@ static void dummy1() {
|
||||
/* 802B24EC-802B2584 .text appendUsedList__10JKRExpHeapFPQ210JKRExpHeap9CMemBlock */
|
||||
void JKRExpHeap::appendUsedList(CMemBlock* newblock) {
|
||||
if (!newblock) {
|
||||
OSPanic(__FILE__, VERSION_SELECT(1458, 1466, 1466, 1466), ":::ERROR! appendUsedList\n");
|
||||
OSPanic(__FILE__, DEMO_SELECT(1458, 1466), ":::ERROR! appendUsedList\n");
|
||||
}
|
||||
|
||||
CMemBlock* block = mTailUsedList;
|
||||
@@ -691,7 +691,7 @@ void JKRExpHeap::joinTwoBlocks(CMemBlock* block) {
|
||||
OSReport(":::: endAddr = %x\n", endAddr);
|
||||
OSReport(":::: nextAddr = %x\n", nextAddr);
|
||||
JKRGetCurrentHeap()->dump();
|
||||
OSPanic(__FILE__, VERSION_SELECT(1710, 1718, 1718, 1718), ":::: Bad Block\n");
|
||||
OSPanic(__FILE__, DEMO_SELECT(1710, 1718), ":::: Bad Block\n");
|
||||
}
|
||||
|
||||
if (endAddr == nextAddr) {
|
||||
|
||||
@@ -281,7 +281,7 @@ void* JUTGba::gbaThreadMain(void* param_1) {
|
||||
sManager->gbaThread_GetStatus(&threadVar);
|
||||
break;
|
||||
default:
|
||||
OSPanic(__FILE__, VERSION_SELECT(622, 623, 623, 623), "UNKNOWN GBA COMMAND.");
|
||||
OSPanic(__FILE__, DEMO_SELECT(622, 623), "UNKNOWN GBA COMMAND.");
|
||||
break;
|
||||
}
|
||||
if (threadVar.field_0x14) {
|
||||
|
||||
Reference in New Issue
Block a user