Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5b520ff6
Commit
5b520ff6
authored
Dec 10, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Dec 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Remove incorrect assumption about format.
parent
1328da09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
device.c
dlls/dinput/device.c
+2
-8
No files found.
dlls/dinput/device.c
View file @
5b520ff6
...
...
@@ -353,14 +353,8 @@ DataFormat *create_DataFormat(const DIDATAFORMAT *wine_format, LPCDIDATAFORMAT a
else
dt
[
index
].
size
=
sizeof
(
DWORD
);
dt
[
index
].
offset_in
=
wine_format
->
rgodf
[
i
].
dwOfs
;
if
(
asked_format
->
rgodf
[
j
].
dwOfs
<
next
)
{
WARN
(
"bad format: dwOfs=%d, changing to %d
\n
"
,
asked_format
->
rgodf
[
j
].
dwOfs
,
next
);
dt
[
index
].
offset_out
=
next
;
offset
[
i
]
=
next
;
}
else
{
dt
[
index
].
offset_out
=
asked_format
->
rgodf
[
j
].
dwOfs
;
offset
[
i
]
=
asked_format
->
rgodf
[
j
].
dwOfs
;
}
dt
[
index
].
offset_out
=
asked_format
->
rgodf
[
j
].
dwOfs
;
offset
[
i
]
=
asked_format
->
rgodf
[
j
].
dwOfs
;
dt
[
index
].
value
=
0
;
next
=
next
+
dt
[
index
].
size
;
...
...
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