diff options
author | D G Turner | 2019-10-19 18:47:34 +0100 |
---|---|---|
committer | D G Turner | 2019-10-19 18:47:34 +0100 |
commit | b0ed255b391b23ad0126e030f52a53783f4004c0 (patch) | |
tree | a3526dc90b378c625127788320df7b447012e4b2 /engines/cruise/background.cpp | |
parent | 30c11071c4abc13383db399ad42a4fb367edfc48 (diff) | |
download | scummvm-rg350-b0ed255b391b23ad0126e030f52a53783f4004c0.tar.gz scummvm-rg350-b0ed255b391b23ad0126e030f52a53783f4004c0.tar.bz2 scummvm-rg350-b0ed255b391b23ad0126e030f52a53783f4004c0.zip |
CRUISE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/cruise/background.cpp')
-rw-r--r-- | engines/cruise/background.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cruise/background.cpp b/engines/cruise/background.cpp index 4cf52f62e1..4aa33cffd5 100644 --- a/engines/cruise/background.cpp +++ b/engines/cruise/background.cpp @@ -179,6 +179,7 @@ int loadBackground(const char *name, int idx) { default: assert(0); + break; } gfxModuleData_setPal256(palScreen[idx]); @@ -199,6 +200,9 @@ int loadBackground(const char *name, int idx) { memcpy(backgroundScreens[idx], ptr2, 320 * 200); ptr2 += 320 * 200; break; + default: + assert(0); + break; } loadMEN(&ptr2); |