aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/macventure/image.cpp3
-rw-r--r--engines/macventure/macventure.cpp4
-rw-r--r--engines/macventure/text.cpp2
3 files changed, 8 insertions, 1 deletions
diff --git a/engines/macventure/image.cpp b/engines/macventure/image.cpp
index a899341eb9..2fc884ac7f 100644
--- a/engines/macventure/image.cpp
+++ b/engines/macventure/image.cpp
@@ -150,6 +150,9 @@ void ImageAsset::decodePPIC(ObjID id, Common::Array<byte> &data, uint &bitHeight
case MacVenture::kPPIC3:
decodePPIC3(stream, data, bitHeight, bitWidth, rowBytes);
break;
+ default:
+ warning("decodePPIC(): Unknown mode!");
+ break;
}
delete baseStream;
diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp
index fb1ddc1b32..4de266a3f4 100644
--- a/engines/macventure/macventure.cpp
+++ b/engines/macventure/macventure.cpp
@@ -313,9 +313,11 @@ void MacVentureEngine::refreshReady() {
_cmdReady = _currentSelection.size() != 0;
break;
case 2:
- if (_destObject > 0) // We have a destination seleted
+ if (_destObject > 0) // We have a destination selected
_cmdReady = true;
break;
+ default:
+ break;
}
}
diff --git a/engines/macventure/text.cpp b/engines/macventure/text.cpp
index 60d7ea1316..8e3223ec32 100644
--- a/engines/macventure/text.cpp
+++ b/engines/macventure/text.cpp
@@ -195,6 +195,8 @@ Common::String TextAsset::getNoun(ObjID subval) {
case 3:
name = _engine->getPrefixString(2, obj) + name;
break;
+ default:
+ break;
}
}
if (name.size() && (subval & 4)) {