Use DUSK_AUDIO_DISABLED instead of TARGET_PC

This commit is contained in:
Irastris
2026-03-16 11:48:45 -04:00
parent ee2079bcf9
commit 451ebcbb3c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;
}
+1 -1
View File
@@ -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
{