mame: put soft reset first so its dups could be resolved automatically

should complete #3704
This commit is contained in:
feos 2023-12-13 20:57:43 +03:00
parent 8a806c897d
commit 4f522bac11
2 changed files with 4 additions and 2 deletions

View File

@ -554,6 +554,7 @@ namespace BizHawk.Client.Common
["Cup Select 1"] = '1',
["Cup Select 2"] = '2',
["Door Interlock"] = 'I',
["Effect"] = 'E',
["Emergency"] = 'E',
["Fierce Punch"] = 'F',
["Foot Pedal"] = 'P',
@ -616,6 +617,7 @@ namespace BizHawk.Client.Common
["Stand"] = 'S',
["Strong"] = 's',
["Strong Punch"] = 'S',
["Test"] = 'T',
["Thrust"] = 'T',
["Tilt"] = 'T',
["Tilt 1"] = 't',

View File

@ -43,6 +43,8 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME
fieldPtrList.Add(ptr);
}
MAMEController.BoolButtons.Add("Reset");
foreach (var buttonField in buttonFields)
{
if (buttonField != string.Empty && !buttonField.Contains('%'))
@ -78,8 +80,6 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME
}
}
MAMEController.BoolButtons.Add("Reset");
_buttonFields = buttonFieldList.ToArray();
_analogFields = analogFieldList.ToArray();
_fieldPtrs = fieldPtrList.ToArray();