Get writable log path for macOS also
This commit is contained in:
parent
9b751fced8
commit
885862a45e
|
@ -130,7 +130,7 @@ LogManager::LogManager()
|
|||
SetLogLevel(static_cast<LogTypes::LOG_LEVELS>(verbosity));
|
||||
if (cfgLoadBool("log", "LogToFile", false))
|
||||
{
|
||||
#if defined(__ANDROID__) || defined(TARGET_IOS) || defined(TARGET_UWP)
|
||||
#if defined(__ANDROID__) || defined(__APPLE__) || defined(TARGET_UWP)
|
||||
std::string logPath = get_writable_data_path("flycast.log");
|
||||
#else
|
||||
std::string logPath = "flycast.log";
|
||||
|
|
Loading…
Reference in New Issue