Skip to content

Commit 34dd028

Browse files
committed
engine: Drop x360 code block
1 parent a11ddbe commit 34dd028

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

engine/audio/private/snd_dma.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -398,13 +398,6 @@ FileNameHandle_t CSfxTable::GetFileNameHandle() const
398398

399399
const char *CSfxTable::GetFileName()
400400
{
401-
if ( IsX360() && m_bUseErrorFilename )
402-
{
403-
// Redirecting error sounds to a valid empty wave, prevents a bad loading retry pattern during gameplay
404-
// which may event sounds skipped by preload, because they don't exist.
405-
return "common/null.wav";
406-
}
407-
408401
const char *pName = getname();
409402
return pName ? PSkipSoundChars( pName ) : NULL;
410403
}

0 commit comments

Comments
 (0)