mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
Use Ctrl F5 for global main menu, since any single key would conflict with some games.
svn-id: r36240
This commit is contained in:
parent
9f2d6d82ca
commit
990eee73f1
@ -436,8 +436,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
|
||||
_keyRepeatTime = time + kKeyRepeatInitialDelay;
|
||||
#endif
|
||||
// Global Main Menu
|
||||
// FIXME: F6 is not the best trigger, it conflicts with some games!!!
|
||||
if (event.kbd.keycode == Common::KEYCODE_F6) {
|
||||
if (event.kbd.flags == Common::KBD_CTRL && event.kbd.keycode == Common::KEYCODE_F5) {
|
||||
if (g_engine && !g_engine->isPaused()) {
|
||||
Common::Event menuEvent;
|
||||
menuEvent.type = Common::EVENT_MAINMENU;
|
||||
|
Loading…
x
Reference in New Issue
Block a user