more modularity; fixed an assert in sm64.ld so it doesnt trip if ext ram is defined

This commit is contained in:
someone2639 committed 2021-05-27 00:34:53 -04:00
1 parent bd79934f00
commit 0ee319a300
3 files changed
+8 -5

No files matched your search

+2 -2
View File
@@ -375,8 +375,8 @@ static void level_cmd_end_area(void) {
}
static void level_cmd_load_model_from_dl(void) {
ModelID model = CMD_GET(ModelID, 0xA);
s16 layer = CMD_GET(u16, 0x8);
ModelID model = CMD_GET(ModelID, 0xC);
s16 layer = CMD_GET(u32, 0x8);
void *dl_ptr = CMD_GET(void *, 4);
if (model < ARRAY_COUNT(gGraphNodePointers)) {