aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/sound.cpp')
-rw-r--r--engines/mads/sound.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/mads/sound.cpp b/engines/mads/sound.cpp
index d0aa770a4d..1652550ba3 100644
--- a/engines/mads/sound.cpp
+++ b/engines/mads/sound.cpp
@@ -39,6 +39,15 @@ SoundManager::SoundManager(MADSEngine *vm, Audio::Mixer *mixer) {
_opl = OPL::Config::create();
_opl->init(11025);
+
+ // Validate sound files
+ switch (_vm->getGameID()) {
+ case GType_RexNebular:
+ Nebular::ASound::validate();
+ break;
+ default:
+ break;
+ }
}
SoundManager::~SoundManager() {