From: Zebediah Figura zfigura@codeweavers.com
We already use it in the __wine_spec_callfrom16_* functions. --- tools/winebuild/relay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/winebuild/relay.c b/tools/winebuild/relay.c index 1b01d49d4b5..d07464c53e5 100644 --- a/tools/winebuild/relay.c +++ b/tools/winebuild/relay.c @@ -504,8 +504,7 @@ static void BuildCallTo16Core( int reg_func ) }
/* Jump to the called routine */ - output( "\t.byte 0x66\n" ); - output( "\tlret\n" ); + output( "\tlretw\n" );
/* Function footer */ output_function_size( func_name );