[Scummvm-git-logs] scummvm master -> 287cae139fc1e6a835ab80275f26789df2c3c703
Strangerke
noreply at scummvm.org
Fri Aug 22 20:21:17 UTC 2025
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:
287cae139f M4: Riddle: remove midi file dumper
Commit: 287cae139fc1e6a835ab80275f26789df2c3c703
https://github.com/scummvm/scummvm/commit/287cae139fc1e6a835ab80275f26789df2c3c703
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2025-08-22T22:21:04+02:00
Commit Message:
M4: Riddle: remove midi file dumper
Changed paths:
engines/m4/platform/sound/midi.cpp
diff --git a/engines/m4/platform/sound/midi.cpp b/engines/m4/platform/sound/midi.cpp
index bf3d7d7ae31..99ef8a66918 100644
--- a/engines/m4/platform/sound/midi.cpp
+++ b/engines/m4/platform/sound/midi.cpp
@@ -54,11 +54,14 @@ void Midi::midi_play(const char *name, int volume, bool loop, int trigger, int r
error("Could not find music - %s", fileName.c_str());
HLock(workHandle);
+#if 0
+// Dump the midi file for analysis purposes
Common::DumpFile dump;
dump.open(fileName.c_str());
dump.write(*workHandle, assetSize);
dump.close();
-
+#endif
+
#ifdef TODO
byte *pSrc = (byte *)*workHandle;
More information about the Scummvm-git-logs
mailing list