aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-24 17:24:42 +0000
committerFilippos Karapetis2009-09-24 17:24:42 +0000
commita983c88e37196d56a70125a19bb7fc84cbd84fee (patch)
treeee683134390d07cc9094146eab0e92e5182a6f08 /engines/agi
parent5028d5a68bba66d3b66df6c4acef3f01356cf049 (diff)
downloadscummvm-rg350-a983c88e37196d56a70125a19bb7fc84cbd84fee.tar.gz
scummvm-rg350-a983c88e37196d56a70125a19bb7fc84cbd84fee.tar.bz2
scummvm-rg350-a983c88e37196d56a70125a19bb7fc84cbd84fee.zip
Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44312
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/loader_v3.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agi/loader_v3.cpp b/engines/agi/loader_v3.cpp
index 7e5e87d9a4..cd97c44521 100644
--- a/engines/agi/loader_v3.cpp
+++ b/engines/agi/loader_v3.cpp
@@ -218,8 +218,7 @@ uint8 *AgiLoader_v3::loadVolRes(AgiDir *agid) {
debugC(3, kDebugLevelResources, "offset = %d", agid->offset);
debugC(3, kDebugLevelResources, "x = %x %x", x[0], x[1]);
error("ACK! BAD RESOURCE");
-
- //_vm->quitGame();
+ _vm->quitGame(); // for compilers that don't support NORETURN
}
agid->len = READ_LE_UINT16((uint8 *) x + 3); // uncompressed size