[Scummvm-git-logs] scummvm master -> de8c01b4604f16ae9973607f1fd6a7f6ce310da2

lephilousophe noreply at scummvm.org
Sun Sep 13 08:38:50 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:
de8c01b460 EMSCRIPTEN: Don't build WebMIDI with libretro


Commit: de8c01b4604f16ae9973607f1fd6a7f6ce310da2
    https://github.com/scummvm/scummvm/commit/de8c01b4604f16ae9973607f1fd6a7f6ce310da2
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2026-09-13T10:37:50+02:00

Commit Message:
EMSCRIPTEN: Don't build WebMIDI with libretro

libretro handles MIDI by itself.

Changed paths:
    base/plugins.cpp


diff --git a/base/plugins.cpp b/base/plugins.cpp
index d6e11d086a6..b565e16b0cf 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -101,9 +101,11 @@ public:
 		// static/dynamic plugin, like it's done for the engines
 		LINK_PLUGIN(AUTO)
 		LINK_PLUGIN(NULL)
+
 		#if defined(__LIBRETRO__)
 		LINK_PLUGIN(LIBRETRO_MIDI)
 		#else
+
 		#if defined(WIN32)
 		LINK_PLUGIN(WINDOWS)
 		#endif
@@ -137,14 +139,15 @@ public:
 		#if defined(MACOSX) || defined(IPHONE) && !defined(IPHONE_TVOS)
 		LINK_PLUGIN(COREMIDI)
 		#endif
+		#if defined(EMSCRIPTEN)
+		LINK_PLUGIN(WEBMIDI)
 		#endif
+
+		#endif // defined(__LIBRETRO__)
+
 		#ifdef USE_FLUIDSYNTH
 		LINK_PLUGIN(FLUIDSYNTH)
 		#endif
-
-		#ifdef EMSCRIPTEN
-		LINK_PLUGIN(WEBMIDI)
-		#endif
 		#ifdef USE_MT32EMU
 		LINK_PLUGIN(MT32)
 		#endif




More information about the Scummvm-git-logs mailing list