MONTH_FOLDERS -> MONTHLY_FOLDERS

This commit is contained in:
Nikhil Narayana 2023-08-14 21:44:17 -07:00
commit 106327827a
No known key found for this signature in database
GPG key ID: 1B34839FA8D6245E
3 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@ const Info<bool> SLIPPI_FORCE_NETPLAY_PORT{{System::Main, "Slippi", "ForceNetpla
const Info<u32> SLIPPI_NETPLAY_PORT{{System::Main, "Slippi", "NetplayPort"}, 2626};
const Info<bool> SLIPPI_FORCE_LAN_IP{{System::Main, "Slippi", "ForceLanIP"}, false};
const Info<std::string> SLIPPI_LAN_IP{{System::Main, "Slippi", "LanIP"}, ""};
const Info<bool> SLIPPI_REPLAY_MONTH_FOLDERS{{System::Main, "Slippi", "ReplayMonthFolders"}, true};
const Info<bool> SLIPPI_REPLAY_MONTHLY_FOLDERS{{System::Main, "Slippi", "ReplayMonthlyFolders"}, true};
const Info<std::string> SLIPPI_REPLAY_DIR{{System::Main, "Slippi", "ReplayDir"},
File::GetHomeDirectory() + DIR_SEP + "Slippi"};
const Info<bool> SLIPPI_ENABLE_FRAME_INDEX{{System::Main, "Slippi", "EnableFrameIndex"}, false};

View file

@ -63,7 +63,7 @@ extern const Info<bool> SLIPPI_FORCE_NETPLAY_PORT;
extern const Info<u32> SLIPPI_NETPLAY_PORT;
extern const Info<bool> SLIPPI_FORCE_LAN_IP;
extern const Info<std::string> SLIPPI_LAN_IP;
extern const Info<bool> SLIPPI_REPLAY_MONTH_FOLDERS;
extern const Info<bool> SLIPPI_REPLAY_MONTHLY_FOLDERS;
extern const Info<std::string> SLIPPI_REPLAY_DIR;
extern const Info<bool> SLIPPI_ENABLE_FRAME_INDEX;
extern const Info<bool> SLIPPI_BLOCKING_PIPES;

View file

@ -604,7 +604,7 @@ void CEXISlippi::createNewFile()
// Now we have a dir such as /home/Replays but we need to make one such
// as /home/Replays/2020-06 if month categorization is enabled
if (Config::Get(Config::SLIPPI_REPLAY_MONTH_FOLDERS))
if (Config::Get(Config::SLIPPI_REPLAY_MONTHLY_FOLDERS))
{
dirpath.push_back('/');