From 4bd3a4a9c692fcbc13a13eb86ec44c51a715d325 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 9 Nov 2018 20:30:14 -0800 Subject: GLK: Cleanup of glk_gestalt_ext switch --- engines/gargoyle/glk.cpp | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'engines') 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; } -- cgit v1.2.3