summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-17 13:25:06 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-18 16:47:44 +0200
commitb1eada607960802e9f5cd33f3f9ec8d1aa5dd85e (patch)
treea8d81cc0c5db0f6d78af27623bf1912c8e63225a /src
parentmemory_util: boost hashes are size_t (diff)
downloadyuzu-b1eada607960802e9f5cd33f3f9ec8d1aa5dd85e.tar
yuzu-b1eada607960802e9f5cd33f3f9ec8d1aa5dd85e.tar.gz
yuzu-b1eada607960802e9f5cd33f3f9ec8d1aa5dd85e.tar.bz2
yuzu-b1eada607960802e9f5cd33f3f9ec8d1aa5dd85e.tar.lz
yuzu-b1eada607960802e9f5cd33f3f9ec8d1aa5dd85e.tar.xz
yuzu-b1eada607960802e9f5cd33f3f9ec8d1aa5dd85e.tar.zst
yuzu-b1eada607960802e9f5cd33f3f9ec8d1aa5dd85e.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/renderer_vulkan.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
index 59b441943..cd9673d1f 100644
--- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp
+++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
@@ -13,6 +13,7 @@
#include <fmt/format.h>
#include "common/dynamic_library.h"
+#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/telemetry.h"
#include "core/core.h"
@@ -76,7 +77,8 @@ Common::DynamicLibrary OpenVulkanLibrary() {
char* libvulkan_env = getenv("LIBVULKAN_PATH");
if (!libvulkan_env || !library.Open(libvulkan_env)) {
// Use the libvulkan.dylib from the application bundle.
- std::string filename = File::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib";
+ const std::string filename =
+ FileUtil::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib";
library.Open(filename.c_str());
}
#else