From 3c1358dab1467797f606c7b3df49e56a86edeb04 Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Fri, 28 Oct 2022 11:47:25 +0300 Subject: [PATCH] Fix CMemoryCardDriver --- src/MetroidPrime/CMemoryCardDriver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MetroidPrime/CMemoryCardDriver.cpp b/src/MetroidPrime/CMemoryCardDriver.cpp index a1ccbce8..c753e740 100644 --- a/src/MetroidPrime/CMemoryCardDriver.cpp +++ b/src/MetroidPrime/CMemoryCardDriver.cpp @@ -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);