Pablo Curiel
daedae88a8
Small USB status codes update.
2020-05-09 00:48:46 -04:00
Pablo Curiel
a7698e435e
USB protocol updated.
2020-05-07 23:48:22 -04:00
Pablo Curiel
61fb465e2a
Additional USB changes.
2020-05-07 07:08:54 -04:00
Pablo Curiel
97f7a46a91
Fix deadlock.
2020-05-06 10:36:17 -04:00
Pablo Curiel
257e1c8dfd
Some more USB related changes.
2020-05-06 10:04:10 -04:00
Pablo Curiel
5c46bfe2ab
Update usb.h
2020-05-06 02:05:25 -04:00
Pablo Curiel
bd6f67d57a
Protocol -> ABI.
...
Also add this to the handshake command block.
2020-05-06 02:01:00 -04:00
Pablo Curiel
253e72786b
Tweaks to utilsReplaceIllegalCharacters.
...
We won't need to replace characters outside of the ASCII range for USB transfers.
2020-05-05 14:04:23 -04:00
Pablo Curiel
298676ae46
Preliminar Switch <-> PC protocol using usb:ds.
2020-05-05 11:22:16 -04:00
Pablo Curiel
444c82b7c0
Save exception info to logfile.
...
Benchmark test updated to dump the inserted gamecard.
2020-05-04 14:15:03 -04:00
Pablo Curiel
76b19aed96
Threaded I/O test.
...
Takes roughly 15 minutes to dump SSBU's data.arc - basically a whole GiB per minute. Which is real nice, considering all the crypto layers we're dealing with.
2020-05-03 10:55:13 -04:00
Pablo Curiel
08b2aed130
Gamecard usermode status change event.
...
Useful to wait for gamecard status changes on other threads.
2020-05-03 04:40:08 -04:00
Pablo Curiel
109913cb18
Fix gamecard deadlock.
2020-05-02 20:36:09 -04:00
Pablo Curiel
2e48a22f8c
Improve thread-safety.
2020-05-02 19:40:50 -04:00
Pablo Curiel
9148b4e0dd
Looks better this way.
2020-05-01 11:22:08 -04:00
Pablo Curiel
050f881cf6
derp
2020-05-01 11:11:18 -04:00
Pablo Curiel
91fdff7816
Codestyle fixes.
2020-05-01 11:06:24 -04:00
Pablo Curiel
e2b4ebc5d4
BKTR: updated file entry detection.
2020-05-01 00:34:30 -04:00
Pablo Curiel
efb9b2d103
BKTR finished.
2020-04-30 07:24:08 -04:00
Pablo Curiel
4774aeae9c
BKTR done, needs testing.
2020-04-30 04:25:03 -04:00
Pablo Curiel
e1e38bcfc2
derp
2020-04-29 17:16:59 -04:00
Pablo Curiel
b64bcf5451
Fix mem leaks in PFS/RomFS initializers.
...
Also renamed Ecsda240 -> Ecc480 and added a new Hmac160 signature type.
2020-04-29 17:11:27 -04:00
Pablo Curiel
7e8fa96829
Remove NcaEncryptionType_Nca0 + BKTR start.
2020-04-29 08:59:28 -04:00
Pablo Curiel
7aa72dc618
Remove unnecessary RomFS context members.
2020-04-29 07:55:23 -04:00
Pablo Curiel
08bfb89adb
Another PFS patch test, works gucci.
2020-04-29 06:55:20 -04:00
Pablo Curiel
18531961ca
RomFS file entry patching working.
2020-04-29 05:54:40 -04:00
Pablo Curiel
e1b1dfc648
Reworked FS section patching.
2020-04-28 04:58:17 -04:00
Pablo Curiel
226fbd0e21
Small PFS fix.
2020-04-28 00:38:24 -04:00
Pablo Curiel
2c252c03b2
Control.nacp reading.
...
First step towards RomFS modification.
2020-04-27 22:33:38 -04:00
Pablo Curiel
278142fd22
RomFS done.
...
Modifications method still missing though.
2020-04-27 19:30:35 -04:00
Pablo Curiel
efe76093e4
RomFS (almost) done.
...
Need to test read functions.
2020-04-27 18:37:15 -04:00
Pablo Curiel
bc93001525
RomFS ctx working.
...
Need to create filepath methods.
2020-04-26 06:04:31 -04:00
Pablo Curiel
c6eaf3c8b6
PFS0 mod data + RomFS start.
2020-04-26 04:35:01 -04:00
Pablo Curiel
dccb33ab0c
PFS0 read improved.
2020-04-24 14:42:16 -04:00
Pablo Curiel
7c8bf5c831
PFS0 context.
2020-04-24 05:38:13 -04:00
Pablo Curiel
76550adab8
NCA read finished.
2020-04-22 16:53:20 -04:00
Pablo Curiel
0e5683b880
NCA read (almost) done.
...
Missing BKTR stuff.
2020-04-21 06:23:33 -04:00
Pablo Curiel
ccf36f4963
NCA process done.
2020-04-20 06:39:41 -04:00
Pablo Curiel
cf8ab4d4ac
More improvements.
2020-04-19 18:44:22 -04:00
Pablo Curiel
1b45cdf05a
Mooooore baby steps.
...
I can finally continue the NCA handler.
2020-04-17 17:59:05 -04:00
Pablo Curiel
9679eb72bb
Hash FS start.
2020-04-16 06:13:11 -04:00
Pablo Curiel
d3ad9d84b6
More changes.
2020-04-16 00:37:16 -04:00
Pablo Curiel
c83858311b
More baby steps.
2020-04-15 20:06:41 -04:00
Pablo Curiel
eccd3f0c1c
Baby steps.
2020-04-15 16:50:07 -04:00
Pablo Curiel
65e40e7600
Gamecard rewrite.
2020-04-15 01:59:12 -04:00
Pablo Curiel
e5a4532a63
First commit.
2020-04-11 01:28:26 -04:00