mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix AdLib timbre loading
git-svn-id: https://svn.eduke32.com/eduke32@8231 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
47942db0a3
commit
f0acbc1ca5
1 changed files with 4 additions and 4 deletions
|
@ -119,9 +119,9 @@ void S_MusicStartup(void)
|
|||
{
|
||||
MUSIC_SetVolume(mus_volume);
|
||||
|
||||
// TODO: figure out why this produces garbage output
|
||||
#if 0
|
||||
if (auto fil = kopen4load("d3dtimbr.tmb", 0) != -1)
|
||||
auto const fil = kopen4load("d3dtimbr.tmb", 0);
|
||||
|
||||
if (fil != buildvfs_kfd_invalid)
|
||||
{
|
||||
int l = kfilelength(fil);
|
||||
auto tmb = (uint8_t *)Xmalloc(l);
|
||||
|
@ -130,7 +130,7 @@ void S_MusicStartup(void)
|
|||
Xfree(tmb);
|
||||
kclose(fil);
|
||||
}
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue