saturn: autofire blah blah again

This commit is contained in:
nattthebear 2020-06-21 16:14:50 -04:00
parent 31e621d64e
commit ae9405fb84
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
{ {
"editor.insertSpaces": false, "editor.insertSpaces": false,
"editor.tabSize": 4 "editor.tabSize": 4,
"search.exclude": {
"waterbox": true
}
} }

View File

@ -138,7 +138,7 @@ namespace BizHawk.Emulation.Cores.Waterbox
switchPreviousFrame.Add(0); switchPreviousFrame.Add(0);
var names = data.Positions.Select(p => $"{name}: Set {p.Name}").ToArray(); var names = data.Positions.Select(p => $"{name}: Set {p.Name}").ToArray();
if (!input.Name.StartsWith("AF ") && !input.Name.EndsWith(" AF")) // hack: don't support some devices if (!input.Name.StartsWith("AF ") && !input.Name.EndsWith(" AF") && !input.Name.StartsWith("Autofire ")) // hack: don't support some devices
{ {
foreach (var n in names) foreach (var n in names)
{ {