summaryrefslogtreecommitdiff
path: root/src/d/d_file_sel_info.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-02-10 11:20:42 -0800
committerGitHub <noreply@github.com>2025-02-10 21:20:42 +0200
commit2453c0e3333157090e839eeab768d19b6a2b0ba1 (patch)
treef51d7bcca7a8227966fc05ee7ef25cd508075a4c /src/d/d_file_sel_info.cpp
parent6c24ff192933300faf555f1411e03432c751afe5 (diff)
copy dolsdk2004 to tp / b_bh + e_mb done (#2299)
* move dolsdk2004 over * cleanup some temp work * finish and cleanup gf * b_bh done * d_a_e_mb done
Diffstat (limited to 'src/d/d_file_sel_info.cpp')
-rw-r--r--src/d/d_file_sel_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_file_sel_info.cpp b/src/d/d_file_sel_info.cpp
index a1f37588a4..1302298d45 100644
--- a/src/d/d_file_sel_info.cpp
+++ b/src/d/d_file_sel_info.cpp
@@ -177,8 +177,8 @@ static procFunc fileWarningProc[] = {&dFile_info_c::modeWait, &dFile_info_c::mod
void dFile_info_c::setSaveDate(dSv_save_c* i_savedata) {
OSCalendarTime time;
OSTicksToCalendarTime(i_savedata->getPlayer().getPlayerStatusB().getDateIpl(), &time);
- sprintf(mSaveDate, "%02d/%02d/%d %02d:%02d", time.month + 1, time.day_of_month, time.year,
- time.hours, time.minutes);
+ sprintf(mSaveDate, "%02d/%02d/%d %02d:%02d", time.mon + 1, time.mday, time.year,
+ time.hour, time.min);
}
/* 80192C70-80192D58 18D5B0 00E8+00 1/1 0/0 0/0 .text setPlayTime__12dFile_info_cFP10dSv_save_c */