mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
winecfg-Staging: Actually fix CSMT checkbox.
This commit is contained in:
parent
6e3fbe28e1
commit
89733585b3
@ -1,4 +1,4 @@
|
||||
From af5d9896a3bdf9f4dc8a32c81345674c83e307cc Mon Sep 17 00:00:00 2001
|
||||
From 3b8bf542a9775e4fdb0b1b1ecc6772d9749fed4c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Sun, 14 Dec 2014 20:42:45 +0100
|
||||
Subject: winecfg: Add staging tab for CSMT.
|
||||
@ -101,7 +101,7 @@ index 0c0b038..54c67c2 100644
|
||||
#define IDC_ABT_ORG 8433
|
||||
diff --git a/programs/winecfg/staging.c b/programs/winecfg/staging.c
|
||||
new file mode 100644
|
||||
index 0000000..efba152
|
||||
index 0000000..f5ab259
|
||||
--- /dev/null
|
||||
+++ b/programs/winecfg/staging.c
|
||||
@@ -0,0 +1,85 @@
|
||||
@ -142,7 +142,7 @@ index 0000000..efba152
|
||||
+ */
|
||||
+static BOOL csmt_get(void)
|
||||
+{
|
||||
+ WCHAR *buf = get_reg_key(config_key, "Direct3D", "csmt", NULL);
|
||||
+ char *buf = get_reg_key(config_key, "Direct3D", "csmt", NULL);
|
||||
+ BOOL ret = buf ? !!*buf : TRUE;
|
||||
+ HeapFree(GetProcessHeap(), 0, buf);
|
||||
+ return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user