From 6856b09d5a0024397895984aeb8d79d4a77e9111 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 11 May 2014 12:27:38 +0100 Subject: AGOS: Switch opcode debugging to a debug flag, rather than level 2 hack. This is now set by --debugflags=opcode rather than -d 2, though it will still require a debug level greater than 0. --- engines/agos/subroutine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/agos/subroutine.cpp') diff --git a/engines/agos/subroutine.cpp b/engines/agos/subroutine.cpp index 39bc468dea..a54a6c3b49 100644 --- a/engines/agos/subroutine.cpp +++ b/engines/agos/subroutine.cpp @@ -564,8 +564,7 @@ restart: else _codePtr += 8; - if (_dumpOpcodes) - debug("; %d", sub->id); + debugC(kDebugOpcode, "; %d", sub->id); result = runScript(); if (result != 0) { break; -- cgit v1.2.3