mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Mac: Look for MoltenVK outside the app bundle too
Executables outside a bundle (headless) found no Vulkan library. Also try the app bundle built next to them, the Vulkan SDK's install and Homebrew's. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
23ba2f62f8
commit
1a3addf0cb
1 file changed
+5
@@ -345,6 +345,11 @@ static const char * const so_names[] = {
|
||||
#elif PPSSPP_PLATFORM(MAC)
|
||||
"@executable_path/../Frameworks/libMoltenVK.dylib",
|
||||
"MoltenVK",
|
||||
// For executables outside a bundle (headless): the app bundle built next to it, the Vulkan SDK's
|
||||
// install (dlopen looks in /usr/local/lib), and Homebrew's.
|
||||
"@executable_path/PPSSPPSDL.app/Contents/Frameworks/libMoltenVK.dylib",
|
||||
"libMoltenVK.dylib",
|
||||
"/opt/homebrew/lib/libMoltenVK.dylib",
|
||||
#else
|
||||
"libvulkan.so",
|
||||
#if !defined(__ANDROID__)
|
||||
|
||||
Reference in new issue
Block a user