summaryrefslogtreecommitdiff
path: root/games/pinball/files/patch-src__EyeBehavior.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/pinball/files/patch-src__EyeBehavior.cpp')
-rw-r--r--games/pinball/files/patch-src__EyeBehavior.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/pinball/files/patch-src__EyeBehavior.cpp b/games/pinball/files/patch-src__EyeBehavior.cpp
new file mode 100644
index 000000000000..53e85792c157
--- /dev/null
+++ b/games/pinball/files/patch-src__EyeBehavior.cpp
@@ -0,0 +1,18 @@
+--- src/EyeBehavior.cpp.orig Thu Nov 20 17:46:17 2003
++++ src/EyeBehavior.cpp Thu Dec 11 21:02:38 2003
+@@ -56,6 +56,7 @@
+ EmAssert(table->getBall(2) != NULL, "Ball3 group NULL");
+ EmAssert(this->getParent() != NULL, "Parent group NULL");
+
++#if EM_USE_SDL
+ // shortcuts for changing view F1, F2, F2, F4 // now F5 F6 F7 F8
+ // I changed to F5 F6 F7 F8 to use the Alt+F4 quit shortcut //!rzr
+ if (Keyboard::isKeyDown(SDLK_F5)) {
+@@ -67,6 +68,7 @@
+ } else if (Keyboard::isKeyDown(SDLK_F8)) {
+ Config::getInstance()->setView(3);
+ }
++#endif
+
+ // the nudge code is here ----------------
+ if (m_iNudgeTick < 1) {