From 6bcfab4ca66350a2f603218f12d76f3b99e752dc Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Thu, 18 May 2023 01:02:00 -0500 Subject: [PATCH] winebuild: Use the lretw mnemonic in wine_call_to_16(). 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 c14a3a70b17..d06be8fc371 100644 --- a/tools/winebuild/relay.c +++ b/tools/winebuild/relay.c @@ -519,8 +519,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 );