From 2391ca83da989fb5d339a4604428e24e25abd760 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 26 Jun 2020 19:47:10 -0700 Subject: [PATCH] GLK: GLULXE: Mark GLULXE games as unstable --- engines/glk/glulxe/detection.cpp | 7 +++++-- engines/glk/glulxe/exec.cpp | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/engines/glk/glulxe/detection.cpp b/engines/glk/glulxe/detection.cpp index 23855d6a33f..5a6ed68566b 100644 --- a/engines/glk/glulxe/detection.cpp +++ b/engines/glk/glulxe/detection.cpp @@ -39,8 +39,11 @@ void GlulxeMetaEngine::getSupportedGames(PlainGameList &games) { GameDescriptor GlulxeMetaEngine::findGame(const char *gameId) { for (const PlainGameDescriptor *pd = GLULXE_GAME_LIST; pd->gameId; ++pd) { - if (!strcmp(gameId, pd->gameId)) - return *pd; + if (!strcmp(gameId, pd->gameId)) { + GameDescriptor gd = *pd; + gd._supportLevel = kUnstableGame; + return gd; + } } return GameDescriptor::empty(); diff --git a/engines/glk/glulxe/exec.cpp b/engines/glk/glulxe/exec.cpp index a48efb1c75e..5540e1f72d3 100644 --- a/engines/glk/glulxe/exec.cpp +++ b/engines/glk/glulxe/exec.cpp @@ -703,7 +703,7 @@ PerformJump: /* goto label for successful jumping... ironic, no? */ pop_callstub(value); } else { /* We've failed, so we must store the failure in this opcode's - operand. */ + operand. */ store_operand(inst[1].desttype, inst[1].value, value); } break;