From 8f3fb21f73f1a0aa3b5719ca3c24256c57f4f280 Mon Sep 17 00:00:00 2001 From: Floogle <18466542+skyfloogle@users.noreply.github.com> Date: Tue, 3 Dec 2024 21:23:22 +0100 Subject: [PATCH] fix wonky depth slider in anaglyph settings --- source/3ds/gui_hard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/3ds/gui_hard.c b/source/3ds/gui_hard.c index 957e5fe..01c9702 100644 --- a/source/3ds/gui_hard.c +++ b/source/3ds/gui_hard.c @@ -1745,7 +1745,7 @@ static void anaglyph_settings(int initial_button) { if (!touch_grab && kDown & KEY_TOUCH && touch_pos.px >= 256 && touch_pos.px < 256 + 48 - && touch_pos.py >= 34 + (8 + tVBOpt.ANAGLYPH_DEPTH) * 11 && touch_pos.py < 34 + 14 + (8 + tVBOpt.ANAGLYPH_DEPTH) * 11 + && touch_pos.py >= 34 - 8 + (8 - tVBOpt.ANAGLYPH_DEPTH) * 11 && touch_pos.py < 34 + 8 + 14 + (8 - tVBOpt.ANAGLYPH_DEPTH) * 11 ) { touch_grab = true; buttonLock = true;