diff options
Diffstat (limited to 'engines/agi/loader_v1.cpp')
-rw-r--r-- | engines/agi/loader_v1.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/agi/loader_v1.cpp b/engines/agi/loader_v1.cpp index 159e13772a..77e38823a7 100644 --- a/engines/agi/loader_v1.cpp +++ b/engines/agi/loader_v1.cpp @@ -156,6 +156,10 @@ int AgiLoader_v1::init() { if (ec == errOK) ec = loadDir_BC(_vm->_game.dirSound, BC_SNDDIR_SEC, BC_SNDDIR_MAX); break; + + default: + ec = errUnk; + break; } return ec; @@ -303,6 +307,8 @@ int AgiLoader_v1::unloadResource(int16 resourceType, int16 resourceNr) { case RESOURCETYPE_SOUND: _vm->_sound->unloadSound(resourceNr); break; + default: + break; } return errOK; |