mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Use path_string for getCacheFileName
This commit is contained in:
parent
9509ec1144
commit
9d64982b23
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue