From 2c8473e761a0e48e060dc6e1d09b3d2372ff6322 Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Mon, 2 Nov 2009 12:22:38 +0000 Subject: [PATCH] winport: - fix bug with stylus in vertical swapped screens layout; --- desmume/src/windows/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index b9a36cc5b..0be8bb118 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -538,7 +538,7 @@ void ToDSScreenRelativeCoords(s32& x, s32& y, bool bottomScreen) y = 191; // finally, make it relative to the correct screen - if(bottomScreen) + if((bottomScreen) && (video.swap == 0)) y -= 192; } else