Browse Source

Fix build

Signed-off-by: crueter <crueter@eden-emu.dev>
kosmickrisp
crueter 1 week ago
parent
commit
9b7bb5e379
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 9
      cpmfile.json
  2. 10
      externals/cpmfile.json
  3. 5
      src/video_core/vulkan_common/vulkan_library.cpp

9
cpmfile.json

@ -114,5 +114,14 @@
"QUAZIP_INSTALL OFF", "QUAZIP_INSTALL OFF",
"QUAZIP_ENABLE_QTEXTCODEC OFF" "QUAZIP_ENABLE_QTEXTCODEC OFF"
] ]
},
"kosmickrisp": {
"package": "KosmicKrisp",
"repo": "crueter-ci/KosmicKrisp",
"hash": "8e5be33292fa5760a4e9883f13581844fb3c6256d588fcafa4716a382deba0d112448e8f49fe0666e79c29b52195ce5630f4d8411e7ec55620e9634f805a1d46",
"git_version": "26.0.0",
"tag": "v%VERSION%",
"artifact": "KosmicKrisp-%VERSION%.tar.zst",
"bundled": true
} }
} }

10
externals/cpmfile.json

@ -185,16 +185,6 @@
"bundled": true, "bundled": true,
"skip_updates": "true" "skip_updates": "true"
}, },
"kosmickrisp": {
"package": "KosmicKrisp",
"repo": "crueter-ci/KosmicKrisp",
"hash": "2df127265580aca955d1ac226e159819802f680d4cdd5508c42784c1e2296ef55322ddaec44b2b71e9528f56a3a2c6db28ae9d4a18cbe75a77411251a3e8b07e",
"git_version": "26.0.0",
"tag": "v%VERSION%",
"artifact": "KosmicKrisp-%VERSION%.tar.zst",
"bundled": true
},
"gamemode": { "gamemode": {
"repo": "FeralInteractive/gamemode", "repo": "FeralInteractive/gamemode",
"sha": "ce6fe122f3", "sha": "ce6fe122f3",

5
src/video_core/vulkan_common/vulkan_library.cpp

@ -21,10 +21,7 @@ std::shared_ptr<Common::DynamicLibrary> OpenLibrary(
#ifdef __APPLE__ #ifdef __APPLE__
const auto libvulkan_filename = const auto libvulkan_filename =
Common::FS::GetBundleDirectory() / "Contents/Frameworks/libvulkan.1.dylib"; Common::FS::GetBundleDirectory() / "Contents/Frameworks/libvulkan.1.dylib";
const auto libmoltenvk_filename =
Common::FS::GetBundleDirectory() / "Contents/Frameworks/libMoltenVK.dylib";
const char* library_paths[] = {std::getenv("LIBVULKAN_PATH"), libvulkan_filename.c_str(),
libmoltenvk_filename.c_str()};
const char* library_paths[] = {std::getenv("LIBVULKAN_PATH"), libvulkan_filename.c_str()};
// Check if a path to a specific Vulkan library has been specified. // Check if a path to a specific Vulkan library has been specified.
for (const auto& library_path : library_paths) { for (const auto& library_path : library_paths) {
if (library_path && library->Open(library_path)) { if (library_path && library->Open(library_path)) {

Loading…
Cancel
Save