Fix CMemoryCardDriver

Former-commit-id: 3c1358dab1
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-28 11:47:25 +03:00
parent 99dac1a072
commit c40e91f133
1 changed files with 2 additions and 2 deletions

View File

@ -661,8 +661,8 @@ void CMemoryCardDriver::InitializeFileInfo() {
char nameBuffer[36];
sprintf(nameBuffer, "%02d.%02d.%02d %02d:%02d", time.x10_mon + 1, time.xc_mday,
time.x14_year % 100, time.x8_hour, time.x4_min);
sprintf(nameBuffer, "%02d.%02d.%02d %02d:%02d", time.mon + 1, time.mday,
time.year % 100, time.hour, time.min);
fileInfo.SetComment(rstl::string_l(nameConstant) + nameBuffer);
fileInfo.LockBannerToken(x4_saveBanner, *gpSimplePool);