From 8a10109e240e033cdd21be20c9bb4af9bd2a7bed Mon Sep 17 00:00:00 2001 From: lizzie Date: Tue, 8 Sep 2026 21:04:08 +0200 Subject: [PATCH] [vulkan] Masquerade VkInfo as PUBGMobile + UE (#4320) Signed-off-by: lizzie - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- PR I was talking about with @CamilleLaVey , please tell me if this is a stupid idea OR has a chance to work applicationname is a wild guess Co-authored-by: CamilleLaVey Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4320 Reviewed-by: CamilleLaVey Reviewed-by: Maufeat --- src/video_core/vulkan_common/vulkan_wrapper.cpp | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp b/src/video_core/vulkan_common/vulkan_wrapper.cpp index f04f137da5..5044881598 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.cpp +++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp @@ -460,8 +460,20 @@ Instance Instance::Create(u32 version, Span layers, Span gloom + yellow line glitch appears +#ifdef __ANDROID__ + const VkApplicationInfo application_info{ + .sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, + .pNext = nullptr, + .pApplicationName = "PUBGMobile", + .applicationVersion = VK_MAKE_VERSION(1, 7, 0), + .pEngineName = "UnrealEngine", + .engineVersion = VK_MAKE_VERSION(4, 23, 0), + .apiVersion = VK_API_VERSION_1_3, + }; +#else const VkApplicationInfo application_info{ .sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, .pNext = nullptr, @@ -471,6 +483,7 @@ Instance Instance::Create(u32 version, Span layers, Span