Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Commit

Permalink
Fix L3/R3 buttons, they work now.
Browse files Browse the repository at this point in the history
  • Loading branch information
gameblabla committed Oct 11, 2019
1 parent d1770aa commit 9aadacf
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/port/sdl/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
{
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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 },
Expand Down

0 comments on commit 9aadacf

Please sign in to comment.