Commit 6ce03d93 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

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

parent 579fc688
......@@ -1025,7 +1025,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment