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
9d69d533
Commit
9d69d533
authored
Mar 15, 2007
by
Alessandro Pignotti
Committed by
Alexandre Julliard
Mar 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: DirectPlay should keep track of the user count.
parent
7cc0b970
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
dplay.c
dlls/dplayx/dplay.c
+6
-2
No files found.
dlls/dplayx/dplay.c
View file @
9d69d533
...
@@ -1227,6 +1227,9 @@ lpPlayerData DP_CreatePlayer( IDirectPlay2Impl* This, LPDPID lpid,
...
@@ -1227,6 +1227,9 @@ lpPlayerData DP_CreatePlayer( IDirectPlay2Impl* This, LPDPID lpid,
TRACE
(
"Created player id 0x%08x
\n
"
,
*
lpid
);
TRACE
(
"Created player id 0x%08x
\n
"
,
*
lpid
);
if
(
~
dwFlags
&
DPLAYI_PLAYER_SYSPLAYER
)
This
->
dp2
->
lpSessionDesc
->
dwCurrentPlayers
++
;
return
lpPData
;
return
lpPData
;
}
}
...
@@ -1478,8 +1481,9 @@ static HRESULT WINAPI DP_IF_CreatePlayer
...
@@ -1478,8 +1481,9 @@ static HRESULT WINAPI DP_IF_CreatePlayer
*/
*/
}
}
/* FIXME: Should we be storing these dwFlags or the creation ones? */
/* We pass creation flags, so we can distinguish sysplayers and not count them in the current
lpPData
=
DP_CreatePlayer
(
This
,
lpidPlayer
,
lpPlayerName
,
dwFlags
,
player total */
lpPData
=
DP_CreatePlayer
(
This
,
lpidPlayer
,
lpPlayerName
,
dwCreateFlags
,
hEvent
,
bAnsi
);
hEvent
,
bAnsi
);
if
(
lpPData
==
NULL
)
if
(
lpPData
==
NULL
)
...
...
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