From 9aadacf023c3dd788e31ff82eaf34771c17f23b3 Mon Sep 17 00:00:00 2001 From: gameblabla Date: Sat, 12 Oct 2019 00:19:32 +0200 Subject: [PATCH] Fix L3/R3 buttons, they work now. --- src/port/sdl/port.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/port/sdl/port.c b/src/port/sdl/port.c index 7d2adfd..dda63b3 100644 --- a/src/port/sdl/port.c +++ b/src/port/sdl/port.c @@ -303,6 +303,11 @@ void config_load() sscanf(arg, "%d", &value); Config.Analog_Mode = value; } + else if (!strcmp(line, "SlowBoot")) + { + sscanf(arg, "%d", &value); + Config.SlowBoot = value; + } #ifdef SPU_PCSXREARMED else if (!strcmp(line, "SpuUseInterpolation")) { @@ -447,12 +452,13 @@ void config_save() "FrameLimit %d\n" "FrameSkip %d\n" "AnalogArrow %d\n" - "Analog_Mode %d\n", + "Analog_Mode %d\n" + "SlowBoot %d\n", CONFIG_VERSION, Config.Xa, Config.Mdec, Config.PsxAuto, Config.Cdda, Config.HLE, Config.RCntFix, Config.VSyncWA, Config.Cpu, Config.PsxType, Config.SpuIrq, Config.SyncAudio, Config.SpuUpdateFreq, Config.ForcedXAUpdates, Config.ShowFps, Config.FrameLimit, - Config.FrameSkip, Config.AnalogArrow, Config.Analog_Mode); + Config.FrameSkip, Config.AnalogArrow, Config.Analog_Mode, Config.SlowBoot); #ifdef SPU_PCSXREARMED fprintf(f, "SpuUseInterpolation %d\n", spu_config.iUseInterpolation); @@ -539,8 +545,8 @@ static struct { SDLK_BACKSPACE, DKEY_R1 }, { SDLK_PAGEUP, DKEY_L2 }, { SDLK_PAGEDOWN, DKEY_R2 }, - { SDLK_SLASH, DKEY_L3 }, - { SDLK_PERIOD, DKEY_R3 }, + { SDLK_KP_DIVIDE, DKEY_L3 }, + { SDLK_KP_PERIOD, DKEY_R3 }, { SDLK_ESCAPE, DKEY_SELECT }, { SDLK_RETURN, DKEY_START },