From 91c67b9af26e4f1bd0a528950f1bf94eb981ab08 Mon Sep 17 00:00:00 2001 From: Gliniak Date: Sat, 21 Oct 2023 18:28:14 +0200 Subject: [PATCH] [Emulator] Separate host and guest cache directories Since now modules and shaders are stored within cache_host directory. This will require coping modules and shaders directories from previous directory to new one --- src/xenia/app/xenia_main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/app/xenia_main.cc b/src/xenia/app/xenia_main.cc index c62662e99..8180085d8 100644 --- a/src/xenia/app/xenia_main.cc +++ b/src/xenia/app/xenia_main.cc @@ -422,7 +422,7 @@ bool EmulatorApp::OnInitialize() { std::filesystem::path cache_root = cvars::cache_root; if (cache_root.empty()) { - cache_root = storage_root / "cache"; + cache_root = storage_root / "cache_host"; // TODO(Triang3l): Point to the app's external storage "cache" directory on // Android. } else { @@ -433,7 +433,7 @@ bool EmulatorApp::OnInitialize() { } } cache_root = std::filesystem::absolute(cache_root); - XELOGI("Cache root: {}", xe::path_to_utf8(cache_root)); + XELOGI("Host cache root: {}", xe::path_to_utf8(cache_root)); if (cvars::discord) { discord::DiscordPresence::Initialize();