[Scummvm-git-logs] scummvm master -> 76ff5f09c91caf5cc38507e8a5371133f41edadf

aquadran noreply at scummvm.org
Sat Jul 18 08:49:20 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
76ff5f09c9 WINTERMUTE: Skip one case MSADPCM WAVE for 'The Way Of Love: Sub Zero'


Commit: 76ff5f09c91caf5cc38507e8a5371133f41edadf
    https://github.com/scummvm/scummvm/commit/76ff5f09c91caf5cc38507e8a5371133f41edadf
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-07-18T10:49:08+02:00

Commit Message:
WINTERMUTE: Skip one case MSADPCM WAVE for 'The Way Of Love: Sub Zero'

Changed paths:
    engines/wintermute/base/sound/base_sound_buffer.cpp


diff --git a/engines/wintermute/base/sound/base_sound_buffer.cpp b/engines/wintermute/base/sound/base_sound_buffer.cpp
index e77f06e31eb..a2fd4c56883 100644
--- a/engines/wintermute/base/sound/base_sound_buffer.cpp
+++ b/engines/wintermute/base/sound/base_sound_buffer.cpp
@@ -26,6 +26,7 @@
  */
 
 #include "engines/wintermute/base/base_game.h"
+#include "engines/wintermute/base/base_engine.h"
 #include "engines/wintermute/base/sound/base_sound_manager.h"
 #include "engines/wintermute/base/sound/base_sound_buffer.h"
 #include "engines/wintermute/base/base_file_manager.h"
@@ -122,6 +123,10 @@ bool BaseSoundBuffer::loadFromFile(const char *filename, bool forceReload) {
 				// We need to wrap the file in a substream to make sure the size is right.
 				file = new Common::SeekableSubReadStream(file, file->pos(), waveSize + file->pos(), DisposeAfterUse::YES);
 				_stream = Audio::makeRawStream(file, waveRate, waveFlags, DisposeAfterUse::YES);
+			} else if (waveType == 2 && BaseEngine::instance().getGameId() == "wayoflove") {
+				// One case in the end of game: 'The Way Of Love: Sub Zero'
+                // MSADPCM WAVE is not well supported in ScummVM
+				_stream = nullptr;
 			} else {
 				error("BSoundBuffer::loadFromFile - WAVE not supported yet for %s with type %d", filename, waveType);
 			}




More information about the Scummvm-git-logs mailing list