Remove asserts

This commit is contained in:
MegaMech
2024-11-20 22:50:36 -07:00
parent e5d512b3e8
commit 097a3ff550
4 changed files with 4 additions and 11 deletions
+4 -1
View File
@@ -117,7 +117,10 @@ void Course::Load() {
// Extract packed DLs
u8* packed = reinterpret_cast<u8*>(LOAD_ASSET_RAW(this->gfx));
Gfx* gfx = (Gfx*) allocate_memory(sizeof(Gfx) * this->gfxSize); // Size of unpacked DLs
assert(gfx != NULL);
if (gfx == NULL) {
printf("Failed to allocate course displaylist memory\n");
}
gSegmentTable[7] = reinterpret_cast<uintptr_t>(&gfx[0]);
displaylist_unpack(reinterpret_cast<uintptr_t *>(gfx), reinterpret_cast<uintptr_t>(packed), 0);