From f5c6a870bfb6d92f623aaa42bb60f074638e37fe Mon Sep 17 00:00:00 2001 From: qwx Date: Sun, 21 Oct 2018 00:11:39 +0200 Subject: doom: fix music for patch wads revert last change, which used games/wadfs to expose genmidi and music lumps. replacements from patch wads were never seen that way. instead, write genmidi and music lumps to /tmp and play them from there. --- rc/bin/dmus | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc') diff --git a/rc/bin/dmus b/rc/bin/dmus index 51950d033..c0c7f4a66 100755 --- a/rc/bin/dmus +++ b/rc/bin/dmus @@ -1,6 +1,6 @@ #!/bin/rc -if(test -f /mnt/wad/genmidi) - c=(games/dmid '|' games/opl3) +if(test -f /tmp/genmidi.*) + c=(games/dmid -i /tmp/genmidi.* '|' games/opl3) if not c=(games/midi -c) if(~ `{file -m $1} audio/mus) -- cgit v1.2.3