gui: Add a delay when scrolling through images to fix display glitches

This commit is contained in:
Joel16 2020-12-31 00:28:00 -05:00
parent eb2bcd914c
commit 22d281cd71

View File

@ -139,11 +139,15 @@ namespace GUI {
if (pressed & SCE_CTRL_LTRIGGER) {
GUI::ClearTextures(&item);
sceKernelDelayThread(100000);
if (!GUI::HandlePrev(&item))
item.state = GUI_STATE_HOME;
}
else if (pressed & SCE_CTRL_RTRIGGER) {
GUI::ClearTextures(&item);
sceKernelDelayThread(100000);
if (!GUI::HandleNext(&item))
item.state = GUI_STATE_HOME;
}