Don't allow trying to use a sound driver that is not in the list for the platform.
This commit is contained in:
@@ -55,6 +55,11 @@ RageSoundManager::~RageSoundManager()
|
||||
m_mapPreloadedSounds.clear();
|
||||
}
|
||||
|
||||
void RageSoundManager::fix_bogus_sound_driver_pref(RString const& valid_setting)
|
||||
{
|
||||
g_sSoundDrivers.Set(valid_setting);
|
||||
}
|
||||
|
||||
/*
|
||||
* Previously, we went to some lengths to shut down sounds before exiting threads.
|
||||
* The only other thread that actually starts sounds is SOUND. Doing this was ugly;
|
||||
|
||||
Reference in New Issue
Block a user