This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Luma3DS-3GX/sysmodules/rosalina/source
Asuka Amari 8f03234e58 screenshots now use timestamps as name
Instead of being called top_XXXX.bmp where XXXX means nothing,
screenshots are now called YYYY-MM-DD_HH-MM-SS.mmm_top.bmp (and same
idea for bot and top_right).

First obvious consequence, this is easier to manage in a file browser.
Now you have screenshots grouped by time, and you also have the 2 or 3
related screenshots (top, bot, top_right) close one to another.

Another consequence is that there is no need to go through existing
screenshots to find an unused number. Now osGetTime takes care of
everything. And going through files was a very time consuming process.
Now screenshots only need 4 (or 6 if 3D) seconds to be saved (instead of
40 seconds if you had 200 screenshots in your directory already).

Conflicts may happen when people change the date and time on their 3DS,
but that's why I even included milliseconds in the timestamp. People
don't set date and time everyday and they'd be unlucky to take a
screenshot at the exact time, milliseconds included, as another
screenshot right after setting the time one hour earlier...

Source for converting seconds since 1970 (or 1900...) to date and time:
https://stackoverflow.com/questions/21593692/
2017-11-18 16:37:35 +01:00
..
gdb Fix latest commit 2017-09-24 19:31:38 +02:00
menus Always patch FS and P9, remove SM service checks 2017-11-02 21:52:14 +01:00
3dsx.c Added Rosalina, see details 2017-06-05 02:02:04 +02:00
csvc.s Added Rosalina, see details 2017-06-05 02:02:04 +02:00
draw.c Also fix RBGA4 (untested) 2017-09-23 22:34:28 +02:00
errdisp.c Log "logged" errdisp messages in /luma/errdisp.txt, fixes #707 2017-07-19 00:59:47 +02:00
fmt.c Suppress future -Wimplicit-fallthrough=3 warnings 2017-07-15 00:41:42 +02:00
fsreg.c Added Rosalina, see details 2017-06-05 02:02:04 +02:00
gdb.c Fix indentation of gdb.c 2017-06-14 10:04:09 +02:00
hbloader.c Fix MaxCpuTime for 3dsx 2017-07-09 22:14:00 +02:00
ifile.c Added Rosalina, see details 2017-06-05 02:02:04 +02:00
input_redirection_hooks.s Refactor pattern for ir hook 2017-06-11 17:16:14 +01:00
input_redirection.c Full support for fw >= 6.x (tested) 2017-06-16 04:21:48 +02:00
main.c Always patch FS and P9, remove SM service checks 2017-11-02 21:52:14 +01:00
memory.c Added Rosalina, see details 2017-06-05 02:02:04 +02:00
menu.c Fix N3DS menu entry 2017-11-10 20:51:52 +01:00
menus.c screenshots now use timestamps as name 2017-11-18 16:37:35 +01:00
minisoc.c Display IP in menus when either gdb/inputredir is enabled 2017-06-15 17:38:45 +02:00
MyThread.c Added Rosalina, see details 2017-06-05 02:02:04 +02:00
services.c Added Rosalina, see details 2017-06-05 02:02:04 +02:00
sock_util.c Added Rosalina, see details 2017-06-05 02:02:04 +02:00