Fix CMemoryCardDriver

This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-28 11:47:25 +03:00
parent f05b3c0b01
commit 3c1358dab1
No known key found for this signature in database
GPG Key ID: E224F951761145F8
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);