aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/nds/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index cfddb93..7c76cff 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -1707,8 +1707,8 @@ int save_state(char* file, void* screen)
n = ftell(fp);
ds2_getTime(&time);
- sprintf(str, "%02d-%02d %02d:%02d:%02d",
- time.month, time.day, time.hours, time.minutes, time.seconds);
+ sprintf(str, "%04d-%02d-%02d %02d:%02d:%02d",
+ time.year + 2000, time.month, time.day, time.hours, time.minutes, time.seconds);
// A black outline in all four directions...
PRINT_STRING_BG(screen, str, COLOR_BLACK, 0x8000, 0, 1);