]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Show autofire ("AF") identifier in gameports custom mapping help strings if enabled.
authorToni Wilen <twilen@winuae.net>
Sat, 1 Oct 2016 11:12:13 +0000 (14:12 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 1 Oct 2016 11:12:13 +0000 (14:12 +0300)
inputdevice.cpp

index 908ca5fb8e2cc87180384ca545c0e4cc38a6e8aa..3b6b41d55122915870d9bc0cd49089dd56aac8e4 100644 (file)
@@ -1937,6 +1937,8 @@ void inputdevice_parse_jport_custom(struct uae_prefs *pr, int index, int port, T
                                        }
                                }
                                _tcscat(outname, ps);
+                               if (flags & ID_FLAG_AUTOFIRE)
+                                       _tcscat(outname, _T(" AF"));
                        }
                } else {
                        write_log(_T("parse_custom missing event %s\n"), p);