From b405a816c9b98b36dbb374b424040794d2498d4d Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Tue, 17 Jun 2025 01:03:18 +0100 Subject: [PATCH] use actual save timestamp when creating a zip backup --- sphaira/source/ui/menus/save_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphaira/source/ui/menus/save_menu.cpp b/sphaira/source/ui/menus/save_menu.cpp index f600119..cc9bd66 100644 --- a/sphaira/source/ui/menus/save_menu.cpp +++ b/sphaira/source/ui/menus/save_menu.cpp @@ -1333,7 +1333,7 @@ Result Menu::BackupSaveInternal(ProgressBox* pbox, const dump::DumpLocation& loc // the save file may be empty, this isn't an error, but we exit early. R_UNLESS(!collections.empty(), 0x0); - const auto t = std::time(NULL); + const auto t = (time_t)extra.timestamp; const auto tm = std::localtime(&t); // pre-calculate the time rather than calculate it in the loop.