mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
windows: move logs to log dir
This commit is contained in:
parent
451e953d26
commit
a7edfa221e
6 changed files with 50 additions and 35 deletions
|
@ -2152,6 +2152,16 @@ const std::string& fs::get_cache_dir()
|
|||
return s_dir;
|
||||
}
|
||||
|
||||
const std::string& fs::get_log_dir()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
static const std::string s_dir = fs::get_config_dir() + "log/";
|
||||
return s_dir;
|
||||
#else
|
||||
return fs::get_cache_dir();
|
||||
#endif
|
||||
}
|
||||
|
||||
const std::string& fs::get_temp_dir()
|
||||
{
|
||||
static const std::string s_dir = []
|
||||
|
|
|
@ -605,6 +605,9 @@ namespace fs
|
|||
// Get common cache directory
|
||||
const std::string& get_cache_dir();
|
||||
|
||||
// Get common log directory
|
||||
const std::string& get_log_dir();
|
||||
|
||||
// Temporary directory
|
||||
const std::string& get_temp_dir();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue