From: Toni Wilen Date: Sat, 1 Oct 2016 11:12:13 +0000 (+0300) Subject: Show autofire ("AF") identifier in gameports custom mapping help strings if enabled. X-Git-Tag: 3400~73 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=891a65e53a55376d6bfdb7227b453b49971e0854;p=francis%2Fwinuae.git Show autofire ("AF") identifier in gameports custom mapping help strings if enabled. --- diff --git a/inputdevice.cpp b/inputdevice.cpp index 908ca5fb..3b6b41d5 100644 --- a/inputdevice.cpp +++ b/inputdevice.cpp @@ -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);