mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix wine_get_host_version calling convention (#2206)
This commit is contained in:
parent
fe5ce40a97
commit
abb5cf5dd1
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ namespace Dalamud.Injector
|
||||||
{
|
{
|
||||||
if (wineGetHostVersionPtr == nint.Zero) return null;
|
if (wineGetHostVersionPtr == nint.Zero) return null;
|
||||||
|
|
||||||
var methodDelegate = (delegate* unmanaged[Fastcall]<out char*, out char*, void>)wineGetHostVersionPtr;
|
var methodDelegate = (delegate* unmanaged[Cdecl]<out char*, out char*, void>)wineGetHostVersionPtr;
|
||||||
methodDelegate(out var platformPtr, out var _);
|
methodDelegate(out var platformPtr, out var _);
|
||||||
|
|
||||||
if (platformPtr == null) return null;
|
if (platformPtr == null) return null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue