From 9c1db0a0cc990f00dbd1ec752c2a9c69e7c051df Mon Sep 17 00:00:00 2001 From: feos Date: Wed, 12 Jun 2024 13:38:59 +0300 Subject: [PATCH] uae: sound_stereo_separation --- .../Computers/Amiga/PUAE.ISettable.cs | 7 +++++++ src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs | 1 + 2 files changed, 8 insertions(+) diff --git a/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.ISettable.cs b/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.ISettable.cs index dffa775b67..b2d75449a7 100644 --- a/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.ISettable.cs +++ b/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.ISettable.cs @@ -206,6 +206,13 @@ namespace BizHawk.Emulation.Cores.Computers.Amiga [TypeConverter(typeof(ConstrainedIntConverter))] public int MouseSpeed { get; set; } + [DisplayName("Stereo separation")] + [Description("Stereo separation in percents. 100% is full separation, 0% is mono mode.")] + [Range(0, 100)] + [DefaultValue(70)] + [TypeConverter(typeof(ConstrainedIntConverter))] + public int StereoSeparation { get; set; } + public PUAESyncSettings() => SettingsUtil.SetDefaultValues(this); diff --git a/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs b/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs index df8457b518..e7cf16e312 100644 --- a/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs +++ b/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs @@ -180,6 +180,7 @@ namespace BizHawk.Emulation.Cores.Computers.Amiga } AppendSetting("input.mouse_speed=" + settings.MouseSpeed); + AppendSetting("sound_stereo_separation=" + settings.StereoSeparation / 10); } private static ControllerDefinition InitInput()