Hans Leidekker : winebus.sys: Fix registry access rights for SDL controller mapping.

Alexandre Julliard julliard at winehq.org
Tue Mar 23 15:07:43 CDT 2021


Module: wine
Branch: oldstable
Commit: 7cda423669f45f4f990248c8fe80843f9c470282
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7cda423669f45f4f990248c8fe80843f9c470282

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Nov 24 12:22:00 2020 +0100

winebus.sys: Fix registry access rights for SDL controller mapping.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48545
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 6ce03d93135247fce4e9b2319319c8e989fd3767)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/winebus.sys/bus_sdl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winebus.sys/bus_sdl.c b/dlls/winebus.sys/bus_sdl.c
index 7a2069fafe9..8000381f36f 100644
--- a/dlls/winebus.sys/bus_sdl.c
+++ b/dlls/winebus.sys/bus_sdl.c
@@ -1036,7 +1036,7 @@ static DWORD CALLBACK deviceloop_thread(void *args)
         HKEY key;
         static const WCHAR szPath[] = {'m','a','p',0};
 
-        if (!RegOpenKeyExW(driver_key, szPath, 0, KEY_ENUMERATE_SUB_KEYS, &key))
+        if (!RegOpenKeyExW(driver_key, szPath, 0, KEY_QUERY_VALUE, &key))
         {
             DWORD index = 0;
             CHAR *buffer = NULL;




More information about the wine-cvs mailing list