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
01ecb583
Commit
01ecb583
authored
Nov 22, 2016
by
Bruno Jesus
Committed by
Alexandre Julliard
Nov 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe16: Honour segment prefix override for outs[bwd] instruction.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
02fa1d4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
instr.c
dlls/krnl386.exe16/instr.c
+4
-1
No files found.
dlls/krnl386.exe16/instr.c
View file @
01ecb583
...
...
@@ -645,14 +645,17 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
(
long_addr
?
context
->
Ecx
:
LOWORD
(
context
->
Ecx
))
:
1
;
int
opsize
=
(
typ
&
1
)
?
(
long_op
?
4
:
2
)
:
1
;
int
step
=
(
context
->
EFlags
&
0x400
)
?
-
opsize
:
+
opsize
;
int
seg
=
outp
?
context
->
SegDs
:
context
->
SegEs
;
/* FIXME: is this right? */
int
seg
;
if
(
outp
)
{
/* Check if there is a segment prefix override and honour it */
seg
=
segprefix
==
-
1
?
context
->
SegDs
:
segprefix
;
/* FIXME: Check segment is readable. */
}
else
{
seg
=
context
->
SegEs
;
/* FIXME: Check segment is writable. */
}
...
...
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