aspargas2
cb870d2b02
fix problems with vbdri new filename handling
...
this should now disallow having non-hex characters in the title id and allow changing of the NAME_TIK and NAME_TID macros
2020-08-02 15:40:41 +02:00
d0k3
d8aeb056cb
Fix CMD & NCSD handling
2020-08-02 15:40:41 +02:00
d0k3
b8798f2aff
Check for title.db before attempting install
2020-08-02 15:40:41 +02:00
d0k3
e559c2b4a1
Fix setting the CIA console ID
2020-08-02 15:40:41 +02:00
d0k3
32b6838d32
Fix TMD CDN CIA building
2020-08-02 15:40:26 +02:00
d0k3
8fcdde29c8
Misc code beautification
2020-08-02 15:40:26 +02:00
d0k3
77f1f94e13
Improved output for game install last step
2020-08-02 15:40:26 +02:00
d0k3
e568348086
Don't overwrite existing saves when installing
...
thanks @aspargas2
2020-08-02 15:40:26 +02:00
d0k3
6116545fef
Fix batch install of game images
2020-08-02 15:40:26 +02:00
d0k3
e916476563
Take over @wolfvak's gameutil.c improvements
2020-08-02 15:40:26 +02:00
d0k3
d2c47b7977
Allow installation of game files
...
Should work for NCCH, NCSD, CIA, TMD from NUS/CDN and DSi eShop titles in NDS format
2020-08-02 15:40:26 +02:00
Wolfvak
8a7448995f
fixed overlooked ARM9 exception handler issue where code would be dumped incorrectly, modified ARM11 exception vectors to not take an entire page of compiled code
2020-07-26 10:27:48 -03:00
Wolfvak
07c009de72
fix comments for bootrom functions
2020-07-24 23:38:31 -03:00
Wolfvak
f96daa407a
potentially fix non-working FIRM builds, remove duplicated cycle wait functions
...
the sdmmc wait function is exactly the same as the one in the bootrom and worked as a drop in replacement
2020-07-24 14:22:38 -03:00
Wolfvak
f835469e19
rewrite the bootrom function header, add more operations and add ARM11 versions
...
- the bootrom is now mapped on the ARM11
- removed the waitClks in favor of a more canonical implementation (subs r0, r0, 4/5 + branch back)
2020-07-24 13:37:29 -03:00
d0k3
2791b42f6e
Fix an exception for big file searches
2020-07-24 11:02:07 +02:00
Wolfvak
d7444e144a
use a regular global pointer for sharedmem
...
fetching the thread id requires coprocessor access which means doing funky switches between thumb and arm -
it's faster to just allocate a single pointer and do an indirect load when necessary
2020-07-23 23:46:15 -03:00
Wolfvak
3973ce57df
revert back to using Thumb code for the ARM9 binary
...
leads to better density and therefore much smaller FIRM sizes
2020-07-23 20:33:46 -03: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
Wolfvak
698ad9d891
fix Travis CI, take 2
2020-07-23 12:13:50 -03:00
d0k3
6b54290cf2
Fix Travis CI building (hopefully)
...
Thanks @vaguerant
2020-07-20 22:57:37 +02:00
d0k3
79768acef7
Fix a small typo in file attribute menu
2020-07-20 00:51:20 +02:00
Wolfvak
4e9721db9b
new3DS FCRAM is always enabled nowadays, so the IS_UNLOCKED check is wrong
2020-07-19 12:08:47 -03:00
Wolfvak
5e307a3f32
limit size of initrd, fix building on msys2
2020-07-19 12:03:04 -03:00
Wolfvak
6487307cf0
improved mmu and gic code
2020-07-19 11:59:52 -03:00
Wolfvak
5905fb84fb
removed the cross allocator, use the shared memory region instead for I2C and NVRAM transfers
2020-07-19 11:44:03 -03:00
Wolfvak
30f0b004c2
fixed screen init, hopefully the last commmit
...
- properly performs gpu/backlight reset
- nukes vram so the initrd had to be moved to arm9 memory, and have its size (at least temporarily) limited to 256k
2020-07-18 20:25:34 -03:00
d0k3
f20d2657fa
Revert "Use .tie extension for titledb entries"
...
This reverts commit 8ee0fac6c44622c75fd2bf2fb15bf0c06662caf8.
2020-07-13 17:27:21 +02:00
d0k3
eb265e9575
NCSD CIA builder: Use proper index
2020-07-09 22:53:56 +02:00
d0k3
8ee0fac6c4
Use .tie extension for titledb entries
2020-07-09 22:51:59 +02:00
aspargas2
6e0b6d2d0a
invalidate vbdri cached entry when a write fails
2020-06-30 19:22:18 +02:00
aspargas2
75cae95509
sort unsigned system tickets into the homebrew directory in ticket.db mounts
2020-06-30 19:22:18 +02:00
aspargas2
519855de5b
fix write permission bypass bug
...
attempting to open a file in a bdri mount for reading only which did not exist but had a valid name would create the file without ever unlocking appropriate write permissions
2020-06-30 19:22:18 +02:00
aspargas2
6b6fe4741d
minor visual fix
...
previously, it was possible to select and deselect drives on the root menu by using the shortcut keys to select all files, but this would not functionally do anything
2020-06-30 19:22:18 +02:00
aspargas2
fd4fd14ee7
allow deletion of files in virtual BDRI drives
2020-06-30 19:22:18 +02:00
aspargas2
8ffe774f77
remove remaining uses of brute-force ticket.db parsing
2020-06-30 19:22:18 +02:00
aspargas2
127008a274
fix oversight in AddBDRIEntry
...
this would cause an uninitialized u64 to be used for the entry size in certain circumstances
2020-06-30 19:22:18 +02:00
aspargas2
6e63fdf4bf
avoid malloc(0) in vbdri
2020-06-30 19:22:18 +02:00
aspargas2
c70546d5ca
implement virtual mounting of BDRI files
2020-06-30 19:22:18 +02:00
aspargas2
2b94b585eb
improvements to bdri.c:
...
* fix a bug in ReadTicketFromDB that would fail to read tickets that were not a specific size
* fix the endianness of the title IDs outputted by ListBDRIEntryTitleIDs
* improve the speed of ReadBDRIEntry and GetBDRIEntrySize by taking advantage of the hash table
2020-06-30 19:22:18 +02:00
aspargas2
b51fc388c2
change a #include to make more sense
2020-06-30 19:22:18 +02:00
aspargas2
11c3a4a71b
remove inaccurate comment
...
the title size field in a title info entry is infact not in bytes
2020-06-30 19:22:18 +02:00
aspargas2
fd93df60c5
deinit filesystems before booting a firm payload
2020-06-30 19:22:18 +02:00
aspargas2
77b83bc89e
move structs that are only used locally from .h to .c in disadiff and bdri
2020-06-30 19:22:18 +02:00
d0k3
2fd6915075
Readme: fix an error
...
thanks @profi200 !
2020-06-02 17:04:32 +02:00
santiago
244d24ee2a
fix compiling on dkA r54, libc is bloaty so please stick with r53 for now
2020-06-01 17:13:30 -03:00
d0k3
d6e09c9c15
Updated splash screen
2020-05-18 23:24:32 +02:00
d0k3
da1dff7cd7
Legit CIAs: Change personalized ticket warning
2020-05-18 23:24:32 +02:00
d0k3
43753535d7
Readme: Added "digital preservation" paragraph
2020-05-18 23:24:32 +02:00
d0k3
a7ce125d7f
Allow building "pirate legit" CIAs (TMD & encryption intact)
2020-05-11 18:02:26 +02:00