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
8268d4e0
Commit
8268d4e0
authored
Feb 20, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 21, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Force debug info in critical sections.
parent
a485f6b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dplay.c
dlls/dplayx/dplay.c
+1
-1
dplobby.c
dlls/dplayx/dplobby.c
+1
-1
No files found.
dlls/dplayx/dplay.c
View file @
8268d4e0
...
@@ -5675,7 +5675,7 @@ HRESULT dplay_create( REFIID riid, void **ppv )
...
@@ -5675,7 +5675,7 @@ HRESULT dplay_create( REFIID riid, void **ppv )
obj
->
ref4A
=
0
;
obj
->
ref4A
=
0
;
obj
->
ref4
=
1
;
obj
->
ref4
=
1
;
InitializeCriticalSection
(
&
obj
->
lock
);
InitializeCriticalSection
Ex
(
&
obj
->
lock
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
obj
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": IDirectPlayImpl.lock"
);
obj
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": IDirectPlayImpl.lock"
);
if
(
DP_CreateDirectPlay2
(
obj
)
)
if
(
DP_CreateDirectPlay2
(
obj
)
)
...
...
dlls/dplayx/dplobby.c
View file @
8268d4e0
...
@@ -2043,7 +2043,7 @@ HRESULT dplobby_create( REFIID riid, void **ppv )
...
@@ -2043,7 +2043,7 @@ HRESULT dplobby_create( REFIID riid, void **ppv )
obj
->
ref3
=
1
;
obj
->
ref3
=
1
;
obj
->
ref3A
=
0
;
obj
->
ref3A
=
0
;
InitializeCriticalSection
(
&
obj
->
lock
);
InitializeCriticalSection
Ex
(
&
obj
->
lock
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
obj
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": IDirectPlayLobbyImpl.lock"
);
obj
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": IDirectPlayLobbyImpl.lock"
);
DPQ_INIT
(
obj
->
msgs
);
DPQ_INIT
(
obj
->
msgs
);
...
...
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