Get writable log path for macOS also

This commit is contained in:
Edward Li 2022-07-22 07:26:52 +08:00 committed by flyinghead
parent 9b751fced8
commit 885862a45e
1 changed files with 1 additions and 1 deletions

View File

@ -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";