Commit graph

64 commits

Author SHA1 Message Date
wheremyfoodat
2ce58e3662 Merge branch 'master' into sd-card 2023-09-05 17:02:40 +03:00
wheremyfoodat
e67dc65118 Add ExtSaveData::CreateDirectory and stub srv::unsubscribe 2023-09-05 14:28:52 +03:00
wheremyfoodat
85e102c40f Change vector to unique_ptr 2023-09-03 17:58:06 +03:00
wheremyfoodat
bdfdc5af62 Revert 3DSX NCCH changes
Co-Authored-By: Théo B. <16072534+LiquidFenrir@users.noreply.github.com>
2023-09-03 16:45:23 +03:00
wheremyfoodat
42bfcaf980 Merge branch 'master' into sd-card 2023-09-03 14:55:44 +03:00
wheremyfoodat
a380aa83f0 Add 3DSX RomFS reads via NCCH archive 2023-09-03 11:14:24 +03:00
Théo B
29352d223b feat: 3dsx loading
romFS works too, pretty neat
2023-09-03 00:31:03 +02:00
wheremyfoodat
46ce2c14cd Initial UserSaveData impl 2023-08-24 17:58:16 +03:00
wheremyfoodat
5106f251cf [SDMC] Handle ASCII paths for CreateDirectory 2023-08-20 16:53:06 +03:00
wheremyfoodat
9ee7543f9a Moar SDMC 2023-08-20 13:55:38 +03:00
wheremyfoodat
0ef46cf8b0 SDMC archive always has read perms 2023-08-20 13:31:02 +03:00
wheremyfoodat
7ada8da8a8 Start adding SD card support 2023-08-20 13:22:48 +03:00
wheremyfoodat
e5f96b7298 Stub update RomFS 2023-08-20 02:38:25 +03:00
wheremyfoodat
293c14de7d More fclose cause why not 2023-08-17 15:30:34 +03:00
wheremyfoodat
b1b430f92b Add forgotten fclose calls 2023-08-17 15:14:05 +03:00
wheremyfoodat
3c610fa332
Fix format specifiers 2023-08-11 18:06:14 +03:00
wheremyfoodat
2e12eea806 Tone down spacing 2023-07-30 01:05:23 +03:00
offtkp
e6098ba7ae Remove the TODO in romfs.cpp 2023-07-29 23:04:32 +03:00
offtkp
d610cfa826 Change some function specifiers 2023-07-29 18:50:51 +03:00
offtkp
85bbd713b0 Parse RomFS files in RomFS parser 2023-07-29 18:25:31 +03:00
offtkp
fb6ec3aa5f Remove recursion from RomFS parse, clang-format 2023-07-29 17:01:44 +03:00
offtkp
2de35bd39d Add RomFS directory traversal stuff 2023-07-29 04:02:13 +03:00
offtkp
f3ce29bf2d Add IVFC parser 2023-07-29 02:08:14 +03:00
wheremyfoodat
0f0a06330c [FS] Better file flushing
Fixes a small memory leak and some filesystem bugs
2023-07-28 22:42:30 +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
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
Mary
122b1b2727 hle: Add proper type for result code
This should clean up all HLE errorcode in the codebase.

I didn't removed Rust::Result as this should be a cleanup for another
iteration.
2023-06-16 20:09:37 +02:00
wheremyfoodat
5fa4e9e178
[SaveData] Handle size == 0 in CreateFile 2023-06-11 12:31:42 +03:00
Wunkolo
8a852d2cab Implement SaveDataArchive::createFile
Based on `ExtSaveDataArchive::createFile`. Gets some games farther that
try to create save-data upon boot.
2023-06-11 01:05:48 -07:00
wheremyfoodat
e9a8c2cb2e ExtSaveData pls 2023-06-03 22:04:26 +03:00
wheremyfoodat
4767a2053b [FS] Better GetFormatInfo 2023-05-20 15:39:31 +03:00
wheremyfoodat
01d16fdfd1 [FS] Better DeleteFile, fclose when file session is closed 2023-05-20 02:32:36 +03:00
wheremyfoodat
9ec2964695 [FS] Add FormatThisUserSaveData 2023-05-20 01:24:30 +03:00
wheremyfoodat
c7f676efd2 [DSP] Add missing break 2023-05-18 03:44:29 +03:00
wheremyfoodat
4dc04be350 [FS] Formatting archives v1 2023-05-16 23:37:52 +03:00
wheremyfoodat
2f5bb45d58 [FS] OpenArchiveHandle returns Result<T, E> 2023-05-16 20:49:31 +03:00
wheremyfoodat
0b0d6dcf4b [FS] Archive::OpenArchive returns Result<T, E> now 2023-05-14 19:31:51 +03:00
wheremyfoodat
5465eb31c1 [SaveData] undo derp 2023-04-29 01:54:31 +03:00
wheremyfoodat
4f8fa164ff [PICA] Color mask 2023-04-28 01:18:08 +03:00
wheremyfoodat
f39069813a [FS] Add CreateDirectory for MK7 (hopefully not broken) 2023-04-26 03:05:46 +03:00
wheremyfoodat
f90a266bb4 [FS] Rehaul to implement all the different things ExtSaveData can target 2023-04-03 01:19:52 +03:00
wheremyfoodat
876835852d [SaveData] Implement OpenDirectory with filename 2023-04-02 01:21:19 +03:00
wheremyfoodat
4f2d59ccbe [FS] Integrate Result<T, E> to codebase 2023-04-02 00:50:19 +03:00
wheremyfoodat
4bef096f04 [FS] Add directory stuff, clean up 2023-03-29 00:23:55 +03:00
wheremyfoodat
494f3f1899 [FS] Implement OpenDirectory 2023-03-24 14:07:44 +02:00
wheremyfoodat
26d9026907 [NCCH] Move from ..hpp (oops) to .hpp for the country list file 2023-03-21 19:49:46 +02:00
wheremyfoodat
9b9f011f5b [FS] Add non-shared ExtSaveData, stub SaveData::GetFormatInfo 2023-03-20 17:33:00 +02:00
wheremyfoodat
16d150496d [CFG & NCCH archive] Add bad word list & the user time offset config 2023-03-17 03:23:23 +02:00
wheremyfoodat
c3f9f235a5 [NCCH] Implement country list 2023-03-12 22:51:21 +02:00
wheremyfoodat
e69e95af69 [FS] Implement SaveData sort of. 2023-03-12 03:19:46 +02:00