Make djui run at 60fps in the pause menu again
This commit is contained in:
parent
b8bfd92061
commit
180bf952b1
|
@ -25,7 +25,7 @@ void patch_djui_before(void) {
|
||||||
|
|
||||||
void patch_djui_interpolated(UNUSED f32 delta) {
|
void patch_djui_interpolated(UNUSED f32 delta) {
|
||||||
// reset the head and re-render DJUI
|
// reset the head and re-render DJUI
|
||||||
if (delta >= 0.5f && !sDjuiRendered60fps && gDjuiInMainMenu) {
|
if (delta >= 0.5f && !sDjuiRendered60fps && (gDjuiInMainMenu || gDjuiPanelPauseCreated)) {
|
||||||
sDjuiRendered60fps = true;
|
sDjuiRendered60fps = true;
|
||||||
if (sSavedDisplayListHead == NULL) { return; }
|
if (sSavedDisplayListHead == NULL) { return; }
|
||||||
gDisplayListHead = sSavedDisplayListHead;
|
gDisplayListHead = sSavedDisplayListHead;
|
||||||
|
|
Loading…
Reference in New Issue