distribution/packages/games/emulators/ecwolf/patches/ecwolf-002-add-exit-menu.patch

14 lines
722 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
diff --git a/src/wl_play.cpp b/src/wl_play.cpp
index aa9e527..5c3fa72 100644
--- a/src/wl_play.cpp
+++ b/src/wl_play.cpp
@@ -101,6 +101,8 @@ ControlScheme controlScheme[] =
{ bt_zoom, "Zoom", -1, -1, -1, CS_AxisDigital, 0 },
{ bt_automap, "Automap", -1, -1, -1, CS_AxisDigital, 0 },
{ bt_showstatusbar, "Show Status", -1, sc_Tab, -1, CS_AxisDigital, 0 },
+ { bt_pause, "Pause Game", -1, sc_Enter, -1, CS_AxisDigital, 0 },
+ { bt_esc, "Escape Game", -1, sc_Escape, -1, CS_AxisDigital, 0 },
// End of List
{ bt_nobutton, NULL, -1, -1, -1, CS_AxisDigital, 0 }