aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-24 09:01:33 +0000
committerFilippos Karapetis2009-09-24 09:01:33 +0000
commitfe7a64d467498ebda26f248e2fa7837d2bb5955f (patch)
treecf3ee0e481c3f5d36f5ee6faa0a2eeadff525b3f
parentc6d2190d2d4971f0cfa149f602bf549e16b34159 (diff)
downloadscummvm-rg350-fe7a64d467498ebda26f248e2fa7837d2bb5955f.tar.gz
scummvm-rg350-fe7a64d467498ebda26f248e2fa7837d2bb5955f.tar.bz2
scummvm-rg350-fe7a64d467498ebda26f248e2fa7837d2bb5955f.zip
Removed some warnings about unreachable code
svn-id: r44292
-rw-r--r--engines/agi/loader_v3.cpp2
-rw-r--r--engines/agi/preagi_mickey.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/loader_v3.cpp b/engines/agi/loader_v3.cpp
index 9f38a05775..7e5e87d9a4 100644
--- a/engines/agi/loader_v3.cpp
+++ b/engines/agi/loader_v3.cpp
@@ -219,7 +219,7 @@ uint8 *AgiLoader_v3::loadVolRes(AgiDir *agid) {
debugC(3, kDebugLevelResources, "x = %x %x", x[0], x[1]);
error("ACK! BAD RESOURCE");
- _vm->quitGame();
+ //_vm->quitGame();
}
agid->len = READ_LE_UINT16((uint8 *) x + 3); // uncompressed size
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp
index 7a6608d0d0..c06cd94bec 100644
--- a/engines/agi/preagi_mickey.cpp
+++ b/engines/agi/preagi_mickey.cpp
@@ -918,8 +918,7 @@ const uint8 colorBCG[16][2] = {
void Mickey::drawLogo() {
// TODO: clean this up and make it work properly, the logo is drawn way off to the right
- return; // remove this once the code below is done
-
+#if 0
char szFile[256] = {0};
uint8 *buffer = new uint8[16384];
const int w = 150;
@@ -964,6 +963,7 @@ void Mickey::drawLogo() {
_vm->_picture->showPic(10, 10, w, h);
delete[] buffer;
+#endif
}
void Mickey::animate() {