Browse Source

fixup extra stuff + enable gamemode

liz-dynarmic-macos-fbsd-port
lizzie 1 month ago
committed by Caio Oliveira
parent
commit
35a121113c
No known key found for this signature in database GPG Key ID: 362DA3DC1901E080
  1. 6
      src/video_core/vulkan_common/vulkan_wrapper.cpp
  2. 10
      src/yuzu/Info.plist

6
src/video_core/vulkan_common/vulkan_wrapper.cpp

@ -430,9 +430,9 @@ VkResult Free(VkDevice device, VkCommandPool handle, Span<VkCommandBuffer> buffe
Instance Instance::Create(u32 version, Span<const char*> layers, Span<const char*> extensions,
InstanceDispatch& dispatch) {
VkFlags ci_flags{};
// #ifdef __APPLE__
// ci_flags |= VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
// #endif
#ifdef __APPLE__
ci_flags |= VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
#endif
// DO NOT TOUCH, breaks RNDA3!!
// Don't know why, but gloom + yellow line glitch appears
const VkApplicationInfo application_info{

10
src/yuzu/Info.plist

@ -186,5 +186,15 @@ SPDX-License-Identifier: GPL-2.0-or-later
</dict>
</dict>
</array>
<!-- ITS -->
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<!-- GC -->
<!-- Game mode is supposed to be automatically enabled by the app category specification above,
but for some reason it needs to be explicitly enabled with this key. -->
<key>GCSupportsGameMode</key>
<true/>
</dict>
</plist>
Loading…
Cancel
Save