From 5910ed45019e8366ca64dab5926ca1f26799b5c5 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Wed, 12 Dec 2018 16:44:47 -0600 Subject: [PATCH] GTK+: Make sure menu item knows about nothing. --- gtk/src/gtk_s9x.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/src/gtk_s9x.cpp b/gtk/src/gtk_s9x.cpp index 9c67f0cf..5caa3a93 100644 --- a/gtk/src/gtk_s9x.cpp +++ b/gtk/src/gtk_s9x.cpp @@ -98,8 +98,11 @@ int main (int argc, char *argv[]) case CTL_SUPERSCOPE: device_type = "superscope"; break; - default: + case CTL_JOYPAD: device_type = "joypad"; + break; + default: + device_type = "nothingpluggedin"; } device_type += std::to_string (port + 1);