mmlgui: Fix compatibility with newer libvgm

This commit is contained in:
OPNA2608
2024-01-21 02:27:55 +01:00
parent 3cabe5375d
commit ea74cbe410
@@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
# Don't force building tests
substituteInPlace Makefile \
--replace 'all: $(MMLGUI_BIN) test' 'all: $(MMLGUI_BIN)'
# Breaking change in libvgm
substituteInPlace src/emu_player.cpp \
--replace 'Resmpl_SetVals(&resmpl, 0xff' 'Resmpl_SetVals(&resmpl, RSMODE_LINEAR'
'';
strictDeps = true;