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
35ecb1b6
Commit
35ecb1b6
authored
Nov 29, 2007
by
Aric Stewart
Committed by
Alexandre Julliard
Nov 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Correct check for MIXER_GETLINECONTROLSF_ONEBYTYPE in mixerGetLineControlsA.
parent
15e1c571
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
winmm.c
dlls/winmm/winmm.c
+1
-2
No files found.
dlls/winmm/winmm.c
View file @
35ecb1b6
...
...
@@ -521,7 +521,7 @@ UINT WINAPI mixerGetLineControlsA(HMIXEROBJ hmix, LPMIXERLINECONTROLSA lpmlcA,
/* Debugging on Windows shows for MIXER_GETLINECONTROLSF_ONEBYTYPE only,
the control count is assumed to be 1 - This is relied upon by a game,
"Dynomite Deluze" */
if
(
MIXER_GETLINECONTROLSF_ONEBYTYPE
==
fdwControls
)
{
if
(
MIXER_GETLINECONTROLSF_ONEBYTYPE
==
(
fdwControls
&
MIXER_GETLINECONTROLSF_QUERYMASK
)
)
{
mlcW
.
cControls
=
1
;
}
else
{
mlcW
.
cControls
=
lpmlcA
->
cControls
;
...
...
@@ -536,7 +536,6 @@ UINT WINAPI mixerGetLineControlsA(HMIXEROBJ hmix, LPMIXERLINECONTROLSA lpmlcA,
lpmlcA
->
dwLineID
=
mlcW
.
dwLineID
;
lpmlcA
->
u
.
dwControlID
=
mlcW
.
u
.
dwControlID
;
lpmlcA
->
u
.
dwControlType
=
mlcW
.
u
.
dwControlType
;
lpmlcA
->
cControls
=
mlcW
.
cControls
;
for
(
i
=
0
;
i
<
mlcW
.
cControls
;
i
++
)
{
lpmlcA
->
pamxctrl
[
i
].
cbStruct
=
sizeof
(
MIXERCONTROLA
);
...
...
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