25 Commits

Author SHA1 Message Date
d0k3
a23ba0e14b Fix a typo 2022-11-28 09:12:56 +01:00
d0k3
3710ed975b Enable compatibility with mGBA RTS savegames 2022-11-28 09:11:57 +01:00
d0k3
c13bba4cfe Fixed a boatload of compiler warnings 2022-03-22 19:40:47 +01:00
Pk11
77fc7af2f2 Use macro for UTF-8 byte count
Makes it more clear why all of the buffers are being multiplied by 4

Fix UTF-8 bytesize macro

Before UTF_BUFFER_BYTESIZE(str_width - 10)] would multiply the 10, not the whole number, by UTF_MAX_BYTES_PER_RUNE

Do (rune_count + 1) * 4 in UTF-8 bytesize macro

Fix Resize/Truncate String snprintf size

Before it would break if the last character was multi-byte
2021-11-14 22:14:53 +01:00
Pk11
13eb4f8869 Proper handling of UTF-8
Note: This commit may be slightly broken, I'm just splitting up it and the next one at the end.
2021-11-14 22:13:32 +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
479fed35ef Further improvements to GBA VC save injection
... taking over @TurdPooChargers proposal.
2020-01-02 21:07:21 +01:00
d0k3
624ac571e4 Improve GBA VC save injection
... see #548
2019-10-28 14:16:55 -03:00
d0k3
c847618048 Some minor cleanup 2019-10-14 23:48:15 +02:00
d0k3
422e54dca4 FIRMInstaller: Remove crypto check
... this interfered with installation to corrupted partitions and is no more required anyways.
2019-10-14 22:18:00 +02:00
Wolfvak
d6c6f56526 fix compilation warnings due to unaligned packed structures in newer gcc 2019-09-29 19:53:27 +02:00
d0k3
73e3a18ea8 Remove legacy A9LH support 2019-06-03 02:28:27 +02:00
d0k3
9cc31b6f56 Fix several alignment assumptions 2019-06-03 02:28:24 +02:00
d0k3
10ec95b8fe Fix #455 2019-02-12 00:03:55 +01:00
d0k3
f40ec898cf Also include derreks sighax signature
in the source, currently not used
2018-07-30 01:03:15 +02:00
d0k3
bc5f187a0f FIRM installs: clarify sighax injection
Fixes #397
2018-07-16 17:02:26 +02:00
d0k3
a4a7b8f1e0 Fix GCC v8.1 (new dkA) warnings
... this also fixes #371
2018-05-24 01:08:00 +02:00
d0k3
db5208a7b8 Allow injecting .srm type GBA saves
Fixes #323
2018-03-09 00:14:42 +01:00
d0k3
0086a6bcb5 Improved memmap.h, now used everywhere 2018-02-07 00:43:21 +01:00
d0k3
a0d2d27b06 Replace TEMP_BUFFER & MAIN_BUFFER with heap 2018-02-07 00:43:18 +01:00
d0k3
0b7076ced3 Safe Restore: ask to create a backup if not found 2017-12-19 01:10:08 +01:00
d0k3
c17a2a9155 Rewrote NAND safe restore for aeskeydb sector 2017-12-11 17:09:07 +01:00
d0k3
585172f810 Added the ability to install aeskeydb.bin to NAND 2017-12-11 14:55:44 +01:00
Wolfvak
beeea37d07 Revised Makefile 2017-11-17 19:37:45 +01:00