From 85fcb47e796e1be0eef9e264daa832d90efdf86d Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 13 Aug 2018 00:50:08 -0400 Subject: MT 07069 (nw) --- src/frontend/mame/ui/cheatopt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } } -- cgit v1.2.3