Port libultra and yay0 (shindou is broken currently)

This commit is contained in:
CrashOveride95
2020-12-03 20:19:03 -05:00
parent 6a80548e8f
commit 15c0bfedbb
296 changed files with 9453 additions and 11420 deletions

View File

@@ -275,7 +275,7 @@ static void level_cmd_load_raw(void) {
sCurrentCmd = CMD_NEXT;
}
static void level_cmd_load_mio0(void) {
static void level_cmd_load_yay0(void) {
load_segment_decompress(CMD_GET(s16, 2), CMD_GET(void *, 4), CMD_GET(void *, 8));
sCurrentCmd = CMD_NEXT;
}
@@ -295,7 +295,7 @@ static void level_cmd_load_mario_head(void) {
sCurrentCmd = CMD_NEXT;
}
static void level_cmd_load_mio0_texture(void) {
static void level_cmd_load_yay0_texture(void) {
load_segment_decompress_heap(CMD_GET(s16, 2), CMD_GET(void *, 4), CMD_GET(void *, 8));
sCurrentCmd = CMD_NEXT;
}
@@ -779,9 +779,9 @@ static void (*LevelScriptJumpTable[])(void) = {
/*15*/ level_cmd_pop_pool_state,
/*16*/ level_cmd_load_to_fixed_address,
/*17*/ level_cmd_load_raw,
/*18*/ level_cmd_load_mio0,
/*18*/ level_cmd_load_yay0,
/*19*/ level_cmd_load_mario_head,
/*1A*/ level_cmd_load_mio0_texture,
/*1A*/ level_cmd_load_yay0_texture,
/*1B*/ level_cmd_init_level,
/*1C*/ level_cmd_clear_level,
/*1D*/ level_cmd_alloc_level_pool,