mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-01 09:17:15 -04:00
Use DUSK_AUDIO_DISABLED instead of TARGET_PC
This commit is contained in:
@@ -15,7 +15,7 @@ void JAUSoundTable::init(void const* param_0) {
|
||||
}
|
||||
|
||||
u8 JAUSoundTable::getTypeID(JAISoundID param_0) const {
|
||||
#if TARGET_PC
|
||||
#if DUSK_AUDIO_DISABLED
|
||||
if (this == NULL) {
|
||||
return 0xff;
|
||||
}
|
||||
@@ -35,7 +35,7 @@ u8 JAUSoundTable::getTypeID(JAISoundID param_0) const {
|
||||
}
|
||||
|
||||
JAUSoundTableItem* JAUSoundTable::getData(JAISoundID param_0) const {
|
||||
#if TARGET_PC
|
||||
#if DUSK_AUDIO_DISABLED
|
||||
if (this == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -1718,7 +1718,7 @@ void Z2SceneMgr::setSceneName(char* spot, s32 room, s32 layer) {
|
||||
|
||||
if (Z2GetSoundMgr()->getStreamMgr()->isActive()) {
|
||||
JAUSoundTable* sound_table = JAUSoundTable::getInstance();
|
||||
#if TARGET_PC
|
||||
#if DUSK_AUDIO_DISABLED
|
||||
if (sound_table->isValid())
|
||||
#endif
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user