mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
- minor fix for last commit.
This commit is contained in:
parent
d7e552fd44
commit
aa89fb6eb6
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 4.4 MiB |
@ -1157,8 +1157,6 @@ void * CMenu::_gameSoundThread(void *obj)
|
|||||||
free(soundBin);// no longer needed, now using decompressed newSound
|
free(soundBin);// no longer needed, now using decompressed newSound
|
||||||
if(newSound != NULL && newSize != 0)
|
if(newSound != NULL && newSize != 0)
|
||||||
m->m_gameSound.Load(newSound, newSize);
|
m->m_gameSound.Load(newSound, newSize);
|
||||||
else
|
|
||||||
m->m_gameSound.FreeMemory();// frees newSound
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
m->m_gameSound.Load(soundBin, sndSize);
|
m->m_gameSound.Load(soundBin, sndSize);
|
||||||
@ -1166,7 +1164,7 @@ void * CMenu::_gameSoundThread(void *obj)
|
|||||||
if(m->m_gameSound.IsLoaded())
|
if(m->m_gameSound.IsLoaded())
|
||||||
m->m_gamesound_changed = true;
|
m->m_gamesound_changed = true;
|
||||||
else
|
else
|
||||||
m->m_gameSound.FreeMemory();// frees soundBin
|
m->m_gameSound.FreeMemory();// frees soundBin or newSound
|
||||||
}
|
}
|
||||||
else // no sound.bin or gc banner sound disabled
|
else // no sound.bin or gc banner sound disabled
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user