aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2014-01-07 07:46:14 +0100
committerStrangerke2014-01-07 07:46:14 +0100
commit7e5dea4f5efefca7d59ab092be30fc3ef2af9ef8 (patch)
treea02f0cd6dbeb6e16b1ae32a28e789fb6a79bf644 /engines/voyeur
parente6e8008e67224f4a45f9965d1e00cb3da5f9652a (diff)
downloadscummvm-rg350-7e5dea4f5efefca7d59ab092be30fc3ef2af9ef8.tar.gz
scummvm-rg350-7e5dea4f5efefca7d59ab092be30fc3ef2af9ef8.tar.bz2
scummvm-rg350-7e5dea4f5efefca7d59ab092be30fc3ef2af9ef8.zip
VOYEUR: Silent 2 CppCheck warnings by differencing if/else branches
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/voyeur/files.cpp b/engines/voyeur/files.cpp
index 2403898e6f..4c0ae1b4f2 100644
--- a/engines/voyeur/files.cpp
+++ b/engines/voyeur/files.cpp
@@ -743,9 +743,9 @@ PictureResource::PictureResource(BoltFilesState &state, const byte *src) {
int nbytes = _bounds.width() * _bounds.height();
if (_flags & PICFLAG_20) {
if (_flags & (PICFLAG_80 | PICFLAG_40)) {
- error("TODO: sInitPic");
+ error("TODO: sInitPic - Case 40 | 80");
} else {
- error("TODO: sInitPic");
+ error("TODO: sInitPic - Case !(40 | 80)");
}
} else if (_flags & PICFLAG_8) {
int mode = 0;
@@ -781,8 +781,10 @@ PictureResource::PictureResource(BoltFilesState &state, const byte *src) {
if (_flags & PICFLAG_10) {
// TODO: Figure out what it's doing. Looks like a direct clearing
// of the screen directly
+ error("TODO: sInitPic - Case 10");
} else {
// TODO: Figure out direct screen loading
+ error("TODO: sInitPic - Case !10");
}
} else {
if (_flags & PICFLAG_1000) {