mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxvk] Use path_string for getCacheFileName
This commit is contained in:
parent
9509ec1144
commit
9d64982b23
@ -794,7 +794,7 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
std::wstring DxvkStateCache::getCacheFileName() const {
|
||||
str::path_string DxvkStateCache::getCacheFileName() const {
|
||||
std::string path = getCacheDir();
|
||||
|
||||
if (!path.empty() && *path.rbegin() != '/')
|
||||
@ -802,7 +802,7 @@ namespace dxvk {
|
||||
|
||||
std::string exeName = env::getExeBaseName();
|
||||
path += exeName + ".dxvk-cache";
|
||||
return str::tows(path.c_str());
|
||||
return str::topath(path.c_str());
|
||||
}
|
||||
|
||||
|
||||
|
@ -159,7 +159,7 @@ namespace dxvk {
|
||||
|
||||
void createWriter();
|
||||
|
||||
std::wstring getCacheFileName() const;
|
||||
str::path_string getCacheFileName() const;
|
||||
|
||||
std::string getCacheDir() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user