temporary but _definitely NOT_ ideal fix, music now works.

i did not know this previously, but the way doom plays a music track
is by first extracting the MIDI file from the WAD to a temporary
file (doom.mid) and then playing it from there.

for a wii, this will cause unnecessary wear-and-tear on the players SD
card, so this behaviour should be changed (probably will end up
extracting all MIDI tracks from the WAD somewhere at startup if we
detect that it has not already been done so).
This commit is contained in:
Gered 2016-10-31 21:39:14 -04:00
parent b3decb8df8
commit 605f5635e1

View file

@ -178,6 +178,8 @@ char *M_TempFile(char *s)
{
tempdir = ".";
}
#elif GEKKO
tempdir = "sd:/apps/chocolate-doom";
#else
// In Unix, just use /tmp.