summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-08-13 00:50:08 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-08-13 00:50:08 -0400
commit85fcb47e796e1be0eef9e264daa832d90efdf86d (patch)
treedbb1f81c26eb08108ac71b4834a2a2e1aab003b9
parent3f1b9ba8e9cf2b3a0ef1f10d9537e031a2b21fca (diff)
MT 07069 (nw)
-rw-r--r--src/frontend/mame/ui/cheatopt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/cheatopt.cpp b/src/frontend/mame/ui/cheatopt.cpp
index cb207458ed1..1cf87b7f9f3 100644
--- a/src/frontend/mame/ui/cheatopt.cpp
+++ b/src/frontend/mame/ui/cheatopt.cpp
@@ -294,7 +294,7 @@ void menu_autofire::populate(float &customtop, float &custombottom)
}
/* add an autofire item */
- item_append_on_off(field.name(), settings.autofire, (autofire_toggle ? FLAG_DISABLE : FLAG_INVERT), (void *)&field);
+ item_append_on_off(field.name(), settings.autofire, (autofire_toggle ? FLAG_DISABLE | FLAG_INVERT : 0), (void *)&field);
}
}
}