From 180bf952b1ccc65045efe4a6a48eebfcbdfc7ba6 Mon Sep 17 00:00:00 2001 From: MysterD Date: Fri, 29 Apr 2022 21:59:09 -0700 Subject: [PATCH] Make djui run at 60fps in the pause menu again --- src/pc/djui/djui.c | 2 +- src/pc/lua/smlua_cobject_autogen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pc/djui/djui.c b/src/pc/djui/djui.c index 429690aa..d73f01ca 100644 --- a/src/pc/djui/djui.c +++ b/src/pc/djui/djui.c @@ -25,7 +25,7 @@ void patch_djui_before(void) { void patch_djui_interpolated(UNUSED f32 delta) { // reset the head and re-render DJUI - if (delta >= 0.5f && !sDjuiRendered60fps && gDjuiInMainMenu) { + if (delta >= 0.5f && !sDjuiRendered60fps && (gDjuiInMainMenu || gDjuiPanelPauseCreated)) { sDjuiRendered60fps = true; if (sSavedDisplayListHead == NULL) { return; } gDisplayListHead = sSavedDisplayListHead; diff --git a/src/pc/lua/smlua_cobject_autogen.c b/src/pc/lua/smlua_cobject_autogen.c index ade3828f..ded641fb 100644 --- a/src/pc/lua/smlua_cobject_autogen.c +++ b/src/pc/lua/smlua_cobject_autogen.c @@ -597,7 +597,7 @@ static struct LuaObjectField sGraphNodeObjectFields[LUA_GRAPH_NODE_OBJECT_FIELD_ { "sharedChild", LVT_COBJECT_P, offsetof(struct GraphNodeObject, sharedChild), false, LOT_GRAPHNODE }, { "skipInterpolationTimestamp", LVT_U32, offsetof(struct GraphNodeObject, skipInterpolationTimestamp), false, LOT_NONE }, // { "throwMatrix", LVT_???, offsetof(struct GraphNodeObject, throwMatrix), false, LOT_??? }, <--- UNIMPLEMENTED -// { "throwMatrixPrev", LVT_???, offsetof(struct GraphNodeObject, throwMatrixPrev), false, LOT_??? }, <--- UNIMPLEMENTED +// { "throwMatrixPrev", LVT_???, offsetof(struct GraphNodeObject, throwMatrixPrev), false, LOT_??? }, <--- UNIMPLEMENTED { "unk4C", LVT_COBJECT_P, offsetof(struct GraphNodeObject, unk4C), false, LOT_SPAWNINFO }, };