From c9e025ba7431f75a2a6ee895fbaa279c3fabce90 Mon Sep 17 00:00:00 2001 From: nosklo Date: Thu, 25 Jan 2018 17:57:51 -0200 Subject: [PATCH] Fix for the touch position in ultrawide resolution Touching the screen when using ultrawide touches the wrong position, this makes sure the position is correct. Credits: Xalphenos --- Source/SuperMario3DWorld/patches.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/SuperMario3DWorld/patches.txt b/Source/SuperMario3DWorld/patches.txt index 0cfa368f..349e69b2 100644 --- a/Source/SuperMario3DWorld/patches.txt +++ b/Source/SuperMario3DWorld/patches.txt @@ -19,3 +19,7 @@ _aspectAddr = 0x10363ED4 # Aspect calculation 0x0241D9B4 = lis r8, _aspectAddr@ha 0x0241D9B8 = lfs f0, _aspectAddr@l(r8) + +# touch position fix +0x0241D9D4 = lis r8, _aspectAddr@ha +0x0241D9D8 = lfs f0, _aspectAddr@l(r8)