From 08ae841dc92016ac0db8564215b278d080763693 Mon Sep 17 00:00:00 2001 From: Avijeet Date: Mon, 20 Jun 2022 17:46:45 +0530 Subject: [PATCH] GLK: SCOTT: Add missing return statement --- engines/glk/scott/unp64/6502_emu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/glk/scott/unp64/6502_emu.cpp b/engines/glk/scott/unp64/6502_emu.cpp index 87e427f489b..ae46e960bff 100644 --- a/engines/glk/scott/unp64/6502_emu.cpp +++ b/engines/glk/scott/unp64/6502_emu.cpp @@ -1334,6 +1334,9 @@ int nextInst(CpuCtx* r) { } } } + if (WriteToIO) { + return 0; + } info->_op->_f(r, mode, arg); r->_cycles += info->_cycles;