dsound-EAX: Disable EAX support by default.

Several older games seem to trigger various bugs when EAX 1 support is enabled.
This commit is contained in:
Sebastian Lackner
2015-04-13 00:37:54 +02:00
parent bbbdc32ff4
commit 2bb0477ca0
2 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
From b31377088e643b14e75df6bd302299d35587998e Mon Sep 17 00:00:00 2001
From 9732684163cf035ea9fca8ac8700562159150190 Mon Sep 17 00:00:00 2001
From: Mark Harmstone <mark@harmstone.com>
Date: Sun, 5 Apr 2015 14:16:11 +0100
Subject: winecfg: Add checkbox to enable/disable EAX support.
@@ -22,7 +22,7 @@ index 4b21d16..a78d9af 100644
/* About tab */
#define IDC_ABT_OWNER 8432
diff --git a/programs/winecfg/staging.c b/programs/winecfg/staging.c
index 40b6642..ee09855 100644
index 40b6642..5a4dd16 100644
--- a/programs/winecfg/staging.c
+++ b/programs/winecfg/staging.c
@@ -71,10 +71,27 @@ static void vaapi_set(BOOL status)
@@ -35,7 +35,7 @@ index 40b6642..ee09855 100644
+static BOOL eax_get(void)
+{
+ BOOL ret;
+ char *value = get_reg_key(config_key, keypath("DirectSound"), "EAXEnabled", "Y");
+ char *value = get_reg_key(config_key, keypath("DirectSound"), "EAXEnabled", "N");
+ ret = IS_OPTION_TRUE(*value);
+ HeapFree(GetProcessHeap(), 0, value);
+ return ret;