mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-08 22:45:12 -04:00
Remove asserts
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user