From e83ec6dc08276d28c065a66bb43f6cb0e14e35e6 Mon Sep 17 00:00:00 2001 From: Pecusx Date: Thu, 6 May 2021 18:40:39 +0200 Subject: [PATCH] Shit on VKBD --- libretro/platform.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libretro/platform.c b/libretro/platform.c index 07f70f2..04eba3d 100644 --- a/libretro/platform.c +++ b/libretro/platform.c @@ -44,6 +44,7 @@ extern char Key_Sate[512]; #include "libretro.h" #include "retroscreen.h" +extern int SHIFTON; extern int UI_is_active; static int swap_joysticks = FALSE; @@ -193,7 +194,8 @@ int PLATFORM_Keyboard(void) } /* SHIFT STATE */ - if ((Key_Sate[RETROK_LSHIFT]) || (Key_Sate[RETROK_RSHIFT])) + //if ((Key_Sate[RETROK_LSHIFT]) || (Key_Sate[RETROK_RSHIFT])) + if (SHIFTON == 1) INPUT_key_shift = 1; else INPUT_key_shift = 0;