diff --git a/source/arm11/menu/menu.c b/source/arm11/menu/menu.c index fda6469..2af41a6 100644 --- a/source/arm11/menu/menu.c +++ b/source/arm11/menu/menu.c @@ -321,12 +321,8 @@ menuShowDesc(curr_menu, desc_con, index); last_index = index; last_menu = curr_menu; - - GX_textureCopy((u64*)RENDERBUF_TOP, 0, (u64*)GFX_getFramebuffer(SCREEN_TOP), - 0, SCREEN_SIZE_TOP + SCREEN_SIZE_SUB); - GFX_swapFramebufs(); - } - GFX_waitForEvent(GFX_EVENT_PDC0, true); // VBlank + updateScreens(); // update screens (VBlank included) + } else GFX_waitForEvent(GFX_EVENT_PDC0, true); // VBlank hidScanInput(); const u32 kDown = hidKeysDown(); diff --git a/source/arm11/menu/menu_fsel.c b/source/arm11/menu/menu_fsel.c index af7fab5..c219b2a 100644 --- a/source/arm11/menu/menu_fsel.c +++ b/source/arm11/menu/menu_fsel.c @@ -401,12 +401,8 @@ if (index != last_index) { browserDraw(res_path, dir_buffer, n_entries, menu_con, index, &scroll); last_index = index; - - GX_textureCopy((u64*)RENDERBUF_TOP, 0, (u64*)GFX_getFramebuffer(SCREEN_TOP), - 0, SCREEN_SIZE_TOP + SCREEN_SIZE_SUB); - GFX_swapFramebufs(); - } - GFX_waitForEvent(GFX_EVENT_PDC0, true); // VBlank + updateScreens(); // update screens (VBlank included) + } else GFX_waitForEvent(GFX_EVENT_PDC0, true); // VBlank // directional button cooldown for (u32 i = dbutton_cooldown; i > 0; i--)