aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-09 20:30:14 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commit4bd3a4a9c692fcbc13a13eb86ec44c51a715d325 (patch)
treebcc2fd8edfffc077fd8953d65068d72fe2b65563 /engines
parent601e1d486b038f121323e78ed68a154d6763c9f1 (diff)
downloadscummvm-rg350-4bd3a4a9c692fcbc13a13eb86ec44c51a715d325.tar.gz
scummvm-rg350-4bd3a4a9c692fcbc13a13eb86ec44c51a715d325.tar.bz2
scummvm-rg350-4bd3a4a9c692fcbc13a13eb86ec44c51a715d325.zip
GLK: Cleanup of glk_gestalt_ext switch
Diffstat (limited to 'engines')
-rw-r--r--engines/gargoyle/glk.cpp22
1 files changed, 4 insertions, 18 deletions
diff --git a/engines/gargoyle/glk.cpp b/engines/gargoyle/glk.cpp
index fe82edc2d4..d8152428ab 100644
--- a/engines/gargoyle/glk.cpp
+++ b/engines/gargoyle/glk.cpp
@@ -116,9 +116,6 @@ glui32 Glk::glk_gestalt_ext(glui32 id, glui32 val, glui32 *arr, glui32 arrlen) {
return true;
return false;
- case gestalt_Timer:
- return true;
-
case gestalt_Graphics:
case gestalt_GraphicsTransparency:
return g_conf->_graphics;
@@ -136,32 +133,21 @@ glui32 Glk::glk_gestalt_ext(glui32 id, glui32 val, glui32 *arr, glui32 arrlen) {
case gestalt_SoundNotify:
return g_conf->_sound;
- case gestalt_Sound2:
- return false;
+ case gestalt_LineTerminatorKey:
+ return Window::checkTerminator(val);
+ case gestalt_Timer:
case gestalt_Unicode:
- return true;
case gestalt_UnicodeNorm:
- return true;
-
case gestalt_Hyperlinks:
- return true;
case gestalt_HyperlinkInput:
- return true;
-
case gestalt_LineInputEcho:
- return true;
case gestalt_LineTerminators:
- return true;
- case gestalt_LineTerminatorKey:
- return Window::checkTerminator(val);
-
case gestalt_DateTime:
- return true;
-
case gestalt_GarglkText:
return true;
+ case gestalt_Sound2:
default:
return false;
}