mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Init dynos packs after djui is created
This commit is contained in:
parent
be19fbaf15
commit
52c1e50e10
4 changed files with 3 additions and 1 deletions
|
@ -621,7 +621,6 @@ static void DynOS_Opt_CreateModelPacksSubMenu() {
|
||||||
void DynOS_Opt_Init() {
|
void DynOS_Opt_Init() {
|
||||||
|
|
||||||
#ifdef COOP
|
#ifdef COOP
|
||||||
DynOS_Gfx_Init();
|
|
||||||
#else
|
#else
|
||||||
// Convert options menu
|
// Convert options menu
|
||||||
DynOS_Opt_InitVanilla(sOptionsMenu);
|
DynOS_Opt_InitVanilla(sOptionsMenu);
|
||||||
|
|
|
@ -176,6 +176,7 @@ void djui_base_compute(struct DjuiBase* base) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void djui_base_compute_tree(struct DjuiBase* base) {
|
void djui_base_compute_tree(struct DjuiBase* base) {
|
||||||
|
if (!base) { return; }
|
||||||
if (base->parent != NULL) {
|
if (base->parent != NULL) {
|
||||||
djui_base_compute_tree(base->parent);
|
djui_base_compute_tree(base->parent);
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,6 +65,7 @@ static bool djui_console_on_key_down(UNUSED struct DjuiBase* base, int scancode)
|
||||||
}
|
}
|
||||||
|
|
||||||
void djui_console_message_create(char* message) {
|
void djui_console_message_create(char* message) {
|
||||||
|
if (!gDjuiConsole) { return; }
|
||||||
djui_base_compute_tree(&gDjuiConsole->base);
|
djui_base_compute_tree(&gDjuiConsole->base);
|
||||||
struct DjuiBase* cfBase = &gDjuiConsole->flow->base;
|
struct DjuiBase* cfBase = &gDjuiConsole->flow->base;
|
||||||
|
|
||||||
|
|
|
@ -291,6 +291,7 @@ void main_func(void) {
|
||||||
sync_objects_init_system();
|
sync_objects_init_system();
|
||||||
djui_unicode_init();
|
djui_unicode_init();
|
||||||
djui_init();
|
djui_init();
|
||||||
|
dynos_packs_init();
|
||||||
mods_init();
|
mods_init();
|
||||||
|
|
||||||
// load config
|
// load config
|
||||||
|
|
Loading…
Reference in a new issue