mirror of
https://github.com/LumaTeam/Luma3DS.git
synced 2026-02-22 01:44:38 +00:00
Fix graphical glitches in volume adjustment menu
Due to the waitInputWithTimeout call taking up to 1 second, the framebuffer must be flushed. Also added padding where it was needed
This commit is contained in:
parent
85e0257289
commit
63fbc37426
@ -443,6 +443,7 @@ void SysConfigMenu_AdjustVolume(void)
|
||||
posY = Draw_DrawString(30, posY, COLOR_WHITE, "\n ");
|
||||
}
|
||||
|
||||
Draw_FlushFramebuffer();
|
||||
u32 pressed = waitInputWithTimeout(1000);
|
||||
|
||||
if(pressed & KEY_A)
|
||||
@ -484,6 +485,5 @@ void SysConfigMenu_AdjustVolume(void)
|
||||
if (tempVolumeOverride > 100)
|
||||
tempVolumeOverride = 100;
|
||||
}
|
||||
|
||||
} while(!menuShouldExit);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user