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
3241974e
Commit
3241974e
authored
Jul 22, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jul 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Simplify code a bit.
parent
b88c1677
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
device_private.h
dlls/dinput/device_private.h
+1
-2
No files found.
dlls/dinput/device_private.h
View file @
3241974e
...
@@ -64,8 +64,7 @@ extern HHOOK set_dinput_hook(int hook_id, LPVOID proc);
...
@@ -64,8 +64,7 @@ extern HHOOK set_dinput_hook(int hook_id, LPVOID proc);
(int) (data), (int) (offset), \
(int) (data), (int) (offset), \
(int) (This->queue_head), (int) (This->queue_len)); \
(int) (This->queue_head), (int) (This->queue_len)); \
\
\
nq = This->queue_head+1; \
nq = (This->queue_head+1) % This->queue_len; \
while (nq >= This->queue_len) nq -= This->queue_len; \
if ((offset >= 0) && (nq != This->queue_tail)) { \
if ((offset >= 0) && (nq != This->queue_tail)) { \
This->data_queue[This->queue_head].dwOfs = offset; \
This->data_queue[This->queue_head].dwOfs = offset; \
This->data_queue[This->queue_head].dwData = data; \
This->data_queue[This->queue_head].dwData = data; \
...
...
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