From 2e232b59da4612f2f131bd2f690d70d8fbdf9b87 Mon Sep 17 00:00:00 2001 From: Dean M Greer <38226388+Gcenx@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:37:24 -0500 Subject: [PATCH] Game Porting Toolkit 1.1 based on commit https://github.com/apple/homebrew-apple/commit/2bc44284e24d39ed64d6f492a0e1f4c47a5ced08 --- dlls/atiadlxx/atiadlxx.spec | 2 +- dlls/atiadlxx/atiadlxx_main.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/atiadlxx/atiadlxx.spec b/dlls/atiadlxx/atiadlxx.spec index 222fb744c..d3bcb38c7 100644 --- a/dlls/atiadlxx/atiadlxx.spec +++ b/dlls/atiadlxx/atiadlxx.spec @@ -433,7 +433,7 @@ @ stub ADL2_Graphics_MantleVersion_Get @ stub ADL2_Graphics_Platform_Get @ stdcall ADL2_Graphics_VersionsX2_Get(ptr ptr) -@ stub ADL2_Graphics_Versions_Get +@ stdcall ADL2_Graphics_Versions_Get(ptr ptr) @ stub ADL2_Graphics_VulkanVersion_Get @ stub ADL2_HybridGraphicsGPU_Set @ stub ADL2_MGPUSLS_Status_Set diff --git a/dlls/atiadlxx/atiadlxx_main.c b/dlls/atiadlxx/atiadlxx_main.c index 9f8873876..9e67c7471 100644 --- a/dlls/atiadlxx/atiadlxx_main.c +++ b/dlls/atiadlxx/atiadlxx_main.c @@ -316,6 +316,11 @@ int WINAPI ADL_Graphics_Versions_Get(ADLVersionsInfo *ver) return ADL_OK; } +int WINAPI ADL2_Graphics_Versions_Get(ADL_CONTEXT_HANDLE *ptr, ADLVersionsInfo *ver) +{ + return ADL_Graphics_Versions_Get(ver); +} + int WINAPI ADL2_Adapter_Graphic_Core_Info_Get(ADL_CONTEXT_HANDLE *ptr, int iAdapterIndex, LPADLGraphicInfoCore pGraphicsInfo) { FIXME("ptr %p, iAdapterIndex %u, pGraphicsInfo %p\n", ptr, iAdapterIndex, pGraphicsInfo);