mame: dip switches work
This commit is contained in:
parent
24c74c0e36
commit
ebff82b968
|
@ -5,7 +5,7 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME
|
|||
{
|
||||
public static class LibMAME
|
||||
{
|
||||
internal const string dll = "libmamearcade.dll"; // libmamearcade.dll libpacmanshd.dll
|
||||
internal const string dll = "libmamearcade.dll"; // libmamearcade.dll libpacshd.dll
|
||||
private const CallingConvention cc = CallingConvention.Cdecl;
|
||||
|
||||
public enum OutputChannel
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME
|
|||
|
||||
public class MAMESyncSettings
|
||||
{
|
||||
public Dictionary<string, string> DriverSettings { get; set; } = new Dictionary<string, string>();
|
||||
public SortedDictionary<string, string> DriverSettings { get; set; } = new SortedDictionary<string, string>();
|
||||
|
||||
public static bool NeedsReboot(MAMESyncSettings x, MAMESyncSettings y)
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME
|
|||
{
|
||||
return new MAMESyncSettings
|
||||
{
|
||||
DriverSettings = new Dictionary<string, string>(DriverSettings)
|
||||
DriverSettings = new SortedDictionary<string, string>(DriverSettings)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME
|
|||
, "-nonvram_save" // prevent dumping non-volatile ram to disk
|
||||
, "-artpath", "mame\\artwork" // path to load artowrk from
|
||||
, "-diff_directory", "mame\\diff" // hdd diffs, whenever stuff is written back to an image
|
||||
, "-cfg_directory", ":" // send invalid path to prevent cfg handling
|
||||
, "-cfg_directory", "?" // send invalid path to prevent cfg handling
|
||||
, "-volume", "-32" // lowest attenuation means mame osd remains silent
|
||||
, "-output", "console" // print everything to hawk console
|
||||
, "-samplerate", _sampleRate.ToString() // match hawk samplerate
|
||||
|
|
Loading…
Reference in New Issue