diff options
author | D G Turner | 2014-05-11 15:25:58 +0100 |
---|---|---|
committer | D G Turner | 2014-05-11 15:26:58 +0100 |
commit | 3d3a79108514d1e5b10fc079246501925b1bc813 (patch) | |
tree | 1d17e530ea7b6f608b500239fb257d04fcbe14fd /engines/agos/agos.cpp | |
parent | 41da9a2df798112cc71bae401ed0202e3a605ea7 (diff) | |
download | scummvm-rg350-3d3a79108514d1e5b10fc079246501925b1bc813.tar.gz scummvm-rg350-3d3a79108514d1e5b10fc079246501925b1bc813.tar.bz2 scummvm-rg350-3d3a79108514d1e5b10fc079246501925b1bc813.zip |
AGOS: Switch VGA script debug output to debug flag, rather than level 5.
This is now set by --debugflags=vga_script rather than -d 5, though
it will still require a debug level greater than 0.
Diffstat (limited to 'engines/agos/agos.cpp')
-rw-r--r-- | engines/agos/agos.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index 8763872c41..0ee6bb538f 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -148,6 +148,7 @@ AGOSEngine::AGOSEngine(OSystem *system, const AGOSGameDescription *gd) DebugMan.addDebugChannel(kDebugOpcode, "opcode", "Opcode debug level"); DebugMan.addDebugChannel(kDebugVGAOpcode, "vga_opcode", "VGA Opcode debug level"); DebugMan.addDebugChannel(kDebugSubroutine, "subroutine", "Subroutine debug level"); + DebugMan.addDebugChannel(kDebugVGAScript, "vga_script", "VGA Script debug level"); _vcPtr = 0; _vcGetOutOfCode = 0; @@ -248,7 +249,6 @@ AGOSEngine::AGOSEngine(OSystem *system, const AGOSGameDescription *gd) _backFlag = false; - _dumpVgaScripts = false; _dumpImages = false; _copyProtection = false; @@ -676,11 +676,6 @@ Common::Error AGOSEngine::init() { _subtitles = true; } - // TODO: Use special debug levels instead of the following hack. - switch (gDebugLevel) { - case 5: _dumpVgaScripts = true; break; - } - return Common::kNoError; } |