Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
eaed90d9
Commit
eaed90d9
authored
Feb 26, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Use REG_SZ instead of REG_BINARY for some adapter keys.
parent
20a09a30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sysparams.c
dlls/win32u/sysparams.c
+4
-4
No files found.
dlls/win32u/sysparams.c
View file @
eaed90d9
...
...
@@ -1343,10 +1343,10 @@ static void add_gpu( const struct gdi_gpu *gpu, void *param )
size
=
(
lstrlenW
(
desc
)
+
1
)
*
sizeof
(
WCHAR
);
set_reg_value
(
hkey
,
driver_descW
,
REG_SZ
,
desc
,
size
);
set_reg_value
(
hkey
,
adapter_stringW
,
REG_
BINARY
,
desc
,
size
);
set_reg_value
(
hkey
,
bios_stringW
,
REG_
BINARY
,
desc
,
size
);
set_reg_value
(
hkey
,
chip_typeW
,
REG_
BINARY
,
desc
,
size
);
set_reg_value
(
hkey
,
dac_typeW
,
REG_
BINARY
,
ramdacW
,
sizeof
(
ramdacW
)
);
set_reg_value
(
hkey
,
adapter_stringW
,
REG_
SZ
,
desc
,
size
);
set_reg_value
(
hkey
,
bios_stringW
,
REG_
SZ
,
desc
,
size
);
set_reg_value
(
hkey
,
chip_typeW
,
REG_
SZ
,
desc
,
size
);
set_reg_value
(
hkey
,
dac_typeW
,
REG_
SZ
,
ramdacW
,
sizeof
(
ramdacW
)
);
/* If we failed to retrieve the gpu memory size set a default of 1Gb */
qw_memory_size
=
gpu
->
memory_size
?
gpu
->
memory_size
:
1073741824
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment