mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 12:16:20 +00:00
[REVERT LATER] separate mainline replays with monthly folder
This commit is contained in:
parent
ab52be176e
commit
3a6546f471
1 changed files with 2 additions and 2 deletions
|
@ -566,9 +566,9 @@ void CEXISlippi::createNewFile()
|
|||
dirpath.push_back('/');
|
||||
|
||||
// Append YYYY-MM to the directory path
|
||||
uint8_t yearMonthStrLength = sizeof "2020-06";
|
||||
uint8_t yearMonthStrLength = sizeof "2020-06-Mainline";
|
||||
std::vector<char> yearMonthBuf(yearMonthStrLength);
|
||||
strftime(&yearMonthBuf[0], yearMonthStrLength, "%Y-%m", localtime(&gameStartTime));
|
||||
strftime(&yearMonthBuf[0], yearMonthStrLength, "%Y-%m-Mainline", localtime(&gameStartTime));
|
||||
|
||||
std::string yearMonth(&yearMonthBuf[0]);
|
||||
dirpath.append(yearMonth);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue