summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
authorGravatarGravatar cracyc <cracyc@users.noreply.github.com>2019-11-27 14:12:02 -0600
committerGravatarGravatar cracyc <cracyc@users.noreply.github.com>2019-11-27 14:12:02 -0600
commit5528afb4890157bb8fad1907ff3e64e4d54a40bb (patch)
treea22e61a89cef966ed30faa32b1a0def8d4514daf /src/frontend
parent7dcc9a29c55d2b7aa37950f021c0540fdcb5024c (diff)
plugins/cheatfind: permit entry of cheat names
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/ui/pluginopt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/pluginopt.cpp b/src/frontend/mame/ui/pluginopt.cpp
index d892461a75b..fabd5c44337 100644
--- a/src/frontend/mame/ui/pluginopt.cpp
+++ b/src/frontend/mame/ui/pluginopt.cpp
@@ -11,6 +11,7 @@
#include "emu.h"
#include "ui/pluginopt.h"
+#include "ui/utils.h"
#include "mame.h"
#include "luaengine.h"
@@ -99,6 +100,9 @@ void menu_plugin_opt::handle()
case IPT_UI_CANCEL:
key = "cancel";
break;
+ case IPT_SPECIAL:
+ key = std::to_string((u32)menu_event->unichar);
+ break;
default:
return;
}