mmlgui: Fix compatibility with newer libvgm

This commit is contained in:
OPNA2608 2024-01-01 15:12:47 +01:00
parent 3cabe5375d
commit ea74cbe410

View File

@ -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;