Commit graph

75 commits

Author SHA1 Message Date
wheremyfoodat
313620cad9 Implement SDMC Write-Only archive 2024-01-23 21:56:24 +02:00
wheremyfoodat
0f2fa4e738
Same for NCCH archive 2023-12-20 19:33:38 +02:00
wheremyfoodat
d31e79ebc8
[SelfNCCH] Fix reading from end of RomFS 2023-12-20 19:32:07 +02:00
wheremyfoodat
2f47f15315 Implement RenameFile for ExtSaveData 2023-09-27 14:16:27 +03:00
wheremyfoodat
4199c3b25b Stub TLS root certificate archive 2023-09-26 23:53:13 +03:00
wheremyfoodat
0ba4ffffab [SystemSaveData] Return error when path is unsafe 2023-09-25 20:21:12 +03:00
wheremyfoodat
e9ec836504 Add SystemSaveData::CreateDirectory 2023-09-24 22:41:31 +03:00
wheremyfoodat
88eebbcbae Moar filesystem 2023-09-14 22:22:18 +03:00
wheremyfoodat
1332488326 Add SystemSaveData::CreateFile 2023-09-13 23:29:49 +03:00
wheremyfoodat
7c2167e0f2 Add SystemSaveData::OpenFile and split up frd:u and frd:a 2023-09-13 23:21:30 +03:00
wheremyfoodat
c48f8327c6 Start implementing SystemSaveData 2023-09-13 23:15:18 +03:00
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