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
4981eda8
Commit
4981eda8
authored
Feb 17, 2008
by
Alexander Dorofeyev
Committed by
Alexandre Julliard
Feb 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Fix executebuffer branching with non-zero offset.
Fixes a crash in Moto Racer 2.
parent
1079f374
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
executebuffer.c
dlls/ddraw/executebuffer.c
+8
-2
No files found.
dlls/ddraw/executebuffer.c
View file @
4981eda8
...
...
@@ -524,12 +524,18 @@ IDirect3DExecuteBufferImpl_Execute(IDirect3DExecuteBufferImpl *This,
if
((
This
->
data
.
dsStatus
.
dwStatus
&
ci
->
dwMask
)
==
ci
->
dwValue
)
{
if
(
!
ci
->
bNegate
)
{
TRACE
(
" Branch to %d
\n
"
,
ci
->
dwOffset
);
instr
=
(
char
*
)
current
+
ci
->
dwOffset
;
if
(
ci
->
dwOffset
)
{
instr
=
(
char
*
)
current
+
ci
->
dwOffset
;
break
;
}
}
}
else
{
if
(
ci
->
bNegate
)
{
TRACE
(
" Branch to %d
\n
"
,
ci
->
dwOffset
);
instr
=
(
char
*
)
current
+
ci
->
dwOffset
;
if
(
ci
->
dwOffset
)
{
instr
=
(
char
*
)
current
+
ci
->
dwOffset
;
break
;
}
}
}
...
...
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