mirror of https://github.com/snes9xgit/snes9x.git
GTK+: Make sure menu item knows about nothing.
This commit is contained in:
parent
ba55d8c763
commit
5910ed4501
|
@ -98,8 +98,11 @@ int main (int argc, char *argv[])
|
||||||
case CTL_SUPERSCOPE:
|
case CTL_SUPERSCOPE:
|
||||||
device_type = "superscope";
|
device_type = "superscope";
|
||||||
break;
|
break;
|
||||||
default:
|
case CTL_JOYPAD:
|
||||||
device_type = "joypad";
|
device_type = "joypad";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
device_type = "nothingpluggedin";
|
||||||
}
|
}
|
||||||
|
|
||||||
device_type += std::to_string (port + 1);
|
device_type += std::to_string (port + 1);
|
||||||
|
|
Loading…
Reference in New Issue