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
7f4d1f4e
Commit
7f4d1f4e
authored
Nov 24, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed left over 'show' and useless deadbeef checking which doesn't
work.
parent
335276ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
relay386.c
relay32/relay386.c
+3
-6
No files found.
relay32/relay386.c
View file @
7f4d1f4e
...
@@ -69,12 +69,11 @@ int RELAY_ShowDebugmsgRelay(const char *func) {
...
@@ -69,12 +69,11 @@ int RELAY_ShowDebugmsgRelay(const char *func) {
*/
*/
int
RELAY_CallFrom32
(
int
ret_addr
,
...
)
int
RELAY_CallFrom32
(
int
ret_addr
,
...
)
{
{
int
i
,
ret
,
show
;
int
i
,
ret
;
char
buffer
[
80
];
char
buffer
[
80
];
FARPROC32
func
;
FARPROC32
func
;
unsigned
int
mask
,
typemask
;
unsigned
int
mask
,
typemask
;
WORD
fs
;
WORD
fs
;
DWORD
deadbeef
=
0xdeadbeef
,
*
xdeadbeef
=
&
deadbeef
;
int
*
args
=
&
ret_addr
;
int
*
args
=
&
ret_addr
;
/* Relay addr is the return address for this function */
/* Relay addr is the return address for this function */
...
@@ -181,10 +180,8 @@ int RELAY_CallFrom32( int ret_addr, ... )
...
@@ -181,10 +180,8 @@ int RELAY_CallFrom32( int ret_addr, ... )
assert
(
FALSE
);
assert
(
FALSE
);
}
}
}
}
if
(
show
)
DPRINTF
(
"Ret %s() retval=%08x ret=%08x fs=%04x
\n
"
,
DPRINTF
(
"Ret %s() retval=%08x ret=%08x fs=%04x
\n
"
,
buffer
,
ret
,
ret_addr
,
fs
);
buffer
,
ret
,
ret_addr
,
fs
);
assert
(
*
xdeadbeef
==
0xdeadbeef
);
return
ret
;
return
ret
;
}
}
...
...
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