mirror of
https://github.com/LumaTeam/Luma3DS.git
synced 2026-02-22 01:44:38 +00:00
Fix #1638
This commit is contained in:
parent
99a2b8e3b2
commit
8e9a3bfc74
@ -406,6 +406,8 @@ void RosalinaMenu_TakeScreenshot(void)
|
||||
FSUSER_CloseArchive(archive);
|
||||
}
|
||||
|
||||
// Conversion code adapted from https://stackoverflow.com/questions/21593692/convert-unix-timestamp-to-date-without-system-libs
|
||||
// (original author @gnif under CC-BY-SA 4.0)
|
||||
u32 seconds, minutes, hours, days, year, month;
|
||||
u64 milliseconds = osGetTime();
|
||||
seconds = milliseconds/1000;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user