mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 07:00:30 +02:00
Use UTF-8-safe filesystem paths end-to-end
This commit is contained in:
1 parent
4897e7e27d
commit
b5e5858e1d
26 files changed
+334
-306
No files matched your search
@@ -137,7 +137,7 @@ static void prune_stale_rows() {
|
||||
static bool cache_init_core() {
|
||||
Log.debug("SQLite version {}", sqlite3_libversion());
|
||||
|
||||
const auto path = std::filesystem::path{reinterpret_cast<const char8_t*>(g_config.cachePath)} / "dawn_cache.db";
|
||||
const auto path = fs_path_from_string(g_config.cachePath) / "dawn_cache.db";
|
||||
std::string file = fs_path_to_string(path);
|
||||
Log.debug("Using dawn cache at {}", file);
|
||||
auto ret = sqlite3_open(file.c_str(), &db);
|
||||
|
||||
Reference in new issue
Block a user