From 0325c9315cdeb30d2124fbb9dcc3c36687d34da8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 15 May 2019 17:12:27 -1000 Subject: GLK: HUGO: Support loading savegames from launcher --- engines/glk/hugo/hemisc.cpp | 7 ++++++- engines/glk/hugo/herun.cpp | 22 ++++++++++++++++++++-- engines/glk/hugo/hugo.cpp | 4 ++++ engines/glk/hugo/hugo.h | 1 + 4 files changed, 31 insertions(+), 3 deletions(-) (limited to 'engines/glk') diff --git a/engines/glk/hugo/hemisc.cpp b/engines/glk/hugo/hemisc.cpp index 03a62c56d5..880305076d 100644 --- a/engines/glk/hugo/hemisc.cpp +++ b/engines/glk/hugo/hemisc.cpp @@ -1071,6 +1071,9 @@ void Hugo::InitGame() { } } +#if defined (GLK) + if (_savegameSlot == -1) { +#endif #if defined (DEBUGGER) for (i=0; i