aboutsummaryrefslogtreecommitdiff
path: root/scummvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scummvm.cpp')
-rw-r--r--scummvm.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/scummvm.cpp b/scummvm.cpp
index 5bd2d6276b..0a657378e7 100644
--- a/scummvm.cpp
+++ b/scummvm.cpp
@@ -1037,6 +1037,10 @@ void Scumm::pauseGame(bool user) {
((Gui*)_gui)->pause();
}
+void Scumm::setOptions() {
+ ((Gui*)_gui)->options();
+}
+
void Scumm::shutDown(int i) {
/* TODO: implement this */
warning("shutDown: not implemented");
@@ -1066,6 +1070,11 @@ void Scumm::processKbd() {
if (!_lastKeyHit)
return;
+ if (_lastKeyHit==KEY_SET_OPTIONS) {
+ setOptions();
+ return;
+ }
+
if (_lastKeyHit==_vars[VAR_RESTART_KEY]) {
warning("Restart not implemented");
// pauseGame(true);