Commit graph

41 commits

Author SHA1 Message Date
wheremyfoodat
53917841bc Run clang-format 2023-09-03 10:40:57 +03:00
wheremyfoodat
38be95fffa Gently bonk 3DSX 2023-09-03 10:36:54 +03:00
Théo B
29352d223b feat: 3dsx loading
romFS works too, pretty neat
2023-09-03 00:31:03 +02:00
wheremyfoodat
3292b051be [SDMH] Fix function not returning a value 2023-08-20 03:45:24 +03:00
wheremyfoodat
4c004ab028 [AES] Panic when no generator key is provided 2023-08-15 16:03:04 +03:00
wheremyfoodat
2dd9933621 Print console region when loading NCSD 2023-08-13 18:18:12 +03:00
wheremyfoodat
408dbe75a0 Implement 3DS region auto-detect 2023-08-13 18:08:22 +03:00
wheremyfoodat
804e43f8c9 Fix ExeFS offset derp 2023-07-27 12:25:01 +03:00
wheremyfoodat
27cf8d75ca
Merge pull request from GPUCode/panda-needs-school
Fix typo
2023-07-11 01:21:01 +03:00
GPUCode
57423e206f Fix typo 2023-07-11 01:18:55 +03:00
Wunkolo
37b75f0928 Fix C4267/C4244 warnings
Address warnings involving lossy conversions from larger integer-types into smaller integer-types
2023-07-10 12:33:37 -07:00
wheremyfoodat
e41076522c Remove outdated warning 2023-07-09 01:41:09 +03:00
wheremyfoodat
2ec3884189 Proper stack management 2023-07-07 15:00:18 +03:00
wheremyfoodat
5835069a9d
Fix UB 2023-07-06 17:43:48 +03:00
wheremyfoodat
ef0ef45e94 clang doormat 2023-07-06 16:24:23 +03:00
wheremyfoodat
187feb5772 Add CXI ROM support
Co-Authored-By: Kelpsy <138107494+Kelpsyberry@users.noreply.github.com>
2023-07-06 16:21:26 +03:00
wheremyfoodat
f262cf2836 Fix false positives in crypto code hopefully 2023-07-03 17:25:26 +03:00
wheremyfoodat
cba1b9f39b [NCCH loader] Fix crypto check 2023-07-02 20:18:34 +03:00
wheremyfoodat
3cf8427670 [Crypto] Slightly more robust error handling 2023-06-27 01:12:17 +03:00
Mary
0494ca0064 Address comments 2023-06-22 17:41:09 +02:00
Mary
ef5329a0d4 fix: do not allocate exheader on the stack as it has a variable length
Fix build on Windows hopefully.
2023-06-22 17:41:09 +02:00
Mary
86dd7f54f5 feat: Add support for encrypted NCSD
Missing version 1 support and seeded crypto but that would be enough for now.
2023-06-22 17:41:08 +02:00
wheremyfoodat
fd600a59c1
Merge pull request from Wunkolo/bext
Add `Helpers:{getBits,getBit}`
2023-06-10 12:54:31 +03:00
Wunkolo
2c94d0d683 Add Helpers:{getBits,getBit}
`constexpr` functions for extractint bitfields that lends itself a bit
better to emitting instructions like `bextr` on x86 or `ubfx` on arm64.
And may subjectively make things a bit more readable.
"Extract `5` bits" rather than `& 0x1F`.
2023-06-10 00:48:06 -07:00
Wunkolo
2edc9d5fb7 Remove #pragma once from source file 2023-06-09 20:31:25 -07:00
wheremyfoodat
4bef096f04 [FS] Add directory stuff, clean up 2023-03-29 00:23:55 +03:00
wheremyfoodat
327b071efd [NCCH loader] Fix IWYU error 2023-03-21 20:19:18 +02:00
wheremyfoodat
a573036f6b [LZ77 decompressor] Move to own source file 2023-03-21 19:49:01 +02:00
wheremyfoodat
1019f65824 Fix Fedora build 2023-02-18 00:57:42 +02:00
wheremyfoodat
7892c3303f [NCSD loader] Fix typo 2022-12-12 20:17:07 +02:00
wheremyfoodat
5d15efe72c Stub GPU DMA, fix up some FS stuff. horribly wrong savedata implementation 2022-10-15 13:28:29 +03:00
wheremyfoodat
b6a1da21a9 [FS] Cleanup, stub SDMC, start implementing SaveData 2022-10-12 17:29:36 +03:00
wheremyfoodat
df4cd0642d Implement reading from RomFS 2022-10-09 18:28:45 +03:00
wheremyfoodat
fca54b99a7 We can *actually* load commercial carts now 2022-10-03 20:18:14 +03:00
wheremyfoodat
87bf469447 We can almost load commercial carts now 2022-10-03 19:10:09 +03:00
wheremyfoodat
36b0117ebc [ExeFS] LZ77 decompression for .code file 2022-10-03 00:22:41 +03:00
wheremyfoodat
cd1037857a [NCCH] You guessed it, more parsing 2022-10-02 03:54:15 +03:00
wheremyfoodat
71cc187f93 [NCSD/NCCH] More NCSD parsing 2022-10-02 03:26:24 +03:00
wheremyfoodat
6b6cc7ca2f [NCCH/NCSD] Pain 2022-10-01 19:40:40 +03:00
wheremyfoodat
29241b41ce Add Cryptopp 2022-10-01 18:53:53 +03:00
wheremyfoodat
f6c2e390c1 More NCSD loading 2022-10-01 16:21:05 +03:00