13 Commits

Author SHA1 Message Date
Pk11
5aaac66eef Use sizeof in snprintf where possible, ensure UTF_BUFFER_BYTESIZE
This commit looks a lot bigger than it really is, I noticed a couple spots where with these issues so I ran a regex to find all possible occurrences and switched all that could be, after manually ensuring it was actually correct

Using sizeof on the buffer (as long as the buffer is a char *array*, not a pointer!!) greatly reduces the chance of something having the wrong size because of a later change to the buffer, notably a couple snprintfs were missed in the UTF_BUFFER_BYTESIZE change
2023-04-15 12:54:02 +02:00
Pk11
93ee590cad Make strings translatable 2023-04-15 12:54:02 +02:00
d0k3
8114a0bd26 Higher level warning for editing 0:/Nintendo 3DS/ folder 2021-02-15 17:58:59 +01:00
Gabriel Marcano
d010f2858b Remove trailing white space
- Removed trailing whitespace from all source code files (.c, .h. and
   .s) and the README.md
2020-08-26 23:01:58 +02:00
Wolfvak
929cc7fdcf better hints to reduce compiled size by a few kb
mostly just added static const to constant arrays/buffers
2020-07-23 13:46:42 -03:00
d0k3
f24db1442e Fix #543 2019-10-12 17:14:16 +02:00
Balint Kovacs
fa741b265b Write support for NTR saves
Why does this work? We are writing flash memories without erasing them,
and writing pages without regard to alignment. Yet it works?
2019-10-11 16:24:08 +02:00
d0k3
73e3a18ea8 Remove legacy A9LH support 2019-06-03 02:28:27 +02:00
d0k3
e7a1a72333 Protect S:/essential.exefs file
Fixes #418
2018-08-26 23:06:32 +02:00
windows-server-2003
3c7ad93d1c Forbid writing to SD if write locked 2018-03-09 00:14:41 +01:00
d0k3
1cb2ca523c Proper permission handling for the VRAM drive 2017-12-07 02:54:12 +01:00
d0k3
63767e5eae Updated build system
Includes better handling for FLAVOR now, AUTO_UNLOCK for unlock
sequences and setting SD_TIMEOUT from make
2017-11-24 18:21:02 +01:00
Wolfvak
beeea37d07 Revised Makefile 2017-11-17 19:37:45 +01:00