GLK: GLULXE: Mark GLULXE games as unstable

This commit is contained in:
Paul Gilbert 2020-06-26 19:47:10 -07:00
parent 2a79ba3cf6
commit 2391ca83da
2 changed files with 6 additions and 3 deletions

View File

@ -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();

View File

@ -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;