diff options
author | qwx <devnull@localhost> | 2018-10-21 00:11:39 +0200 |
---|---|---|
committer | qwx <devnull@localhost> | 2018-10-21 00:11:39 +0200 |
commit | f5c6a870bfb6d92f623aaa42bb60f074638e37fe (patch) | |
tree | 30aa568eff9d1d34b6fc82d98fca0bea8aa9422f /rc | |
parent | b4eb667f02c32f007290b68adc95c8fbd9a2c3cd (diff) | |
download | plan9front-f5c6a870bfb6d92f623aaa42bb60f074638e37fe.tar.xz |
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.
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/dmus | 4 |
1 files changed, 2 insertions, 2 deletions
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) |