diff --git a/source/ui.cpp b/source/ui.cpp index 757832c..1011361 100644 --- a/source/ui.cpp +++ b/source/ui.cpp @@ -161,8 +161,8 @@ bool uiSelect(SelectableElement* selected, std::vector elemen lastScrollTime = 0; } - gpu::setViewport(gpu::SCREEN_BOTTOM, 0, 0, BOTTOM_WIDTH, BOTTOM_HEIGHT); - gput::setOrtho(0, BOTTOM_WIDTH, 0, BOTTOM_HEIGHT, -1, 1); + gpu::setViewport(gpu::SCREEN_BOTTOM, 0, 0, gpu::BOTTOM_WIDTH, gpu::BOTTOM_HEIGHT); + gput::setOrtho(0, gpu::BOTTOM_WIDTH, 0, gpu::BOTTOM_HEIGHT, -1, 1); gpu::clear(); u32 screenWidth; @@ -208,8 +208,8 @@ bool uiSelect(SelectableElement* selected, std::vector elemen gpu::flushCommands(); gpu::flushBuffer(); - gpu::setViewport(gpu::SCREEN_TOP, 0, 0, TOP_WIDTH, TOP_HEIGHT); - gput::setOrtho(0, TOP_WIDTH, 0, TOP_HEIGHT, -1, 1); + gpu::setViewport(gpu::SCREEN_TOP, 0, 0, gpu::TOP_WIDTH, gpu::TOP_HEIGHT); + gput::setOrtho(0, gpu::TOP_WIDTH, 0, gpu::TOP_HEIGHT, -1, 1); if(useTopScreen) { gpu::clear(); @@ -477,8 +477,8 @@ bool uiSelectApp(app::App* selectedApp, fs::MediaType mediaType, std::function