mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
OpenAL is enabled, EAX fixes and removed DirectSound completely.
This commit is contained in:
@@ -133,7 +133,7 @@ void Sys_DoPreferences( void ) {
|
||||
KeyMap *keymap = (KeyMap*)&km;
|
||||
GetKeys(*keymap);
|
||||
|
||||
Boolean prefAways, keyFound, useOpenAL;
|
||||
Boolean prefAways, keyFound;
|
||||
prefAways = CFPreferencesGetAppBooleanValue ( kPref_PrefsDialogAlways, kCFPreferencesCurrentApplication, &keyFound );
|
||||
bool fAlways = prefAways && keyFound;
|
||||
|
||||
@@ -191,15 +191,7 @@ void Sys_DoPreferences( void ) {
|
||||
}
|
||||
}
|
||||
}
|
||||
useOpenAL = CFPreferencesGetAppBooleanValue (kPref_PrefsDialogOpenAL, kCFPreferencesCurrentApplication, &keyFound);
|
||||
if ( keyFound && useOpenAL ) {
|
||||
cvarSystem->SetCVarInteger( "com_asyncSound", 1 );
|
||||
cvarSystem->SetCVarInteger( "s_useOpenAL", 1 );
|
||||
}
|
||||
else {
|
||||
cvarSystem->SetCVarInteger( "com_asyncSound", 2 );
|
||||
cvarSystem->SetCVarInteger( "s_useOpenAL", 0 );
|
||||
}
|
||||
cvarSystem->SetCVarInteger( "com_asyncSound", 1 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user