Xbox: Fix exception handling

This commit is contained in:
Ryan Dortmans
2004-11-18 09:08:48 +00:00
parent 72a7b12469
commit d1a1bb4e88
3 changed files with 4 additions and 35 deletions
-8
View File
@@ -12,10 +12,6 @@
#include "arch/arch.h"
#include "arch/Sound/RageSoundDriver.h"
#if defined(XBOX)
#include "archutils/Xbox/VirtualMemory.h"
#endif
/*
* The lock ordering requirements are:
* RageSound::Lock before g_SoundManMutex
@@ -212,10 +208,6 @@ RageSound *RageSoundManager::PlaySound( RageSound &snd, const RageSoundParams *p
else
{
sound_to_play = new RageSound(snd);
#if defined(XBOX)
// keep the sound data committed to memory
vmem_Manager.Lock(sound_to_play);
#endif
/* We're responsible for freeing it. */
g_SoundManMutex.Lock(); /* lock for access to owned_sounds */