Module: wine Branch: master Commit: 32585b11d59782f752c11e337cca1d723b4be6f9 URL: https://gitlab.winehq.org/wine/wine/-/commit/32585b11d59782f752c11e337cca1d7...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jun 6 11:08:14 2024 +0200
ntdll: Support x87 control word in __os_arm64x_get_x64_information().
---
dlls/ntdll/signal_arm64ec.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/ntdll/signal_arm64ec.c b/dlls/ntdll/signal_arm64ec.c index a79996f8b48..cf280714277 100644 --- a/dlls/ntdll/signal_arm64ec.c +++ b/dlls/ntdll/signal_arm64ec.c @@ -1486,6 +1486,9 @@ static NTSTATUS WINAPI LdrpGetX64Information( ULONG type, void *output, void *ex *(UINT *)output = fpcsr_to_mxcsr( fpcr, fpsr ); return STATUS_SUCCESS; } + case 2: + *(UINT *)output = 0x27f; /* hard-coded x87 control word */ + return STATUS_SUCCESS; default: FIXME( "not implemented type %u\n", type ); return STATUS_INVALID_PARAMETER;