Michael Scire
bbdc643b6d
ams_mitm: fix directory save bugs
2019-12-07 12:41:28 -08:00
Michael Scire
a66fcde0ee
fix uninitialized data access
2019-12-07 12:41:28 -08:00
Michael Scire
7835486a4d
ams_mitm: Implement savedata redirection
2019-12-07 12:41:28 -08:00
Michael Scire
90367aea0d
ams_mitm: add titles dir compat shim (to remove in 0.10.1)
2019-12-07 12:41:28 -08:00
Michael Scire
16c638756c
ams_mitm: implement automatic backups of biskeys/cal0
2019-12-07 12:41:28 -08:00
Michael Scire
b08a97d883
shared_from_this requires public inheritance
2019-12-07 12:41:28 -08:00
Michael Scire
746dbfe018
ams_mitm: Implement emummc Nintendo folder redirection
2019-12-07 12:41:28 -08:00
Michael Scire
733f2b3cdd
ams_mitm: implement layeredfs
2019-12-07 12:41:28 -08:00
Michael Scire
ad64cb5212
os/dd: primitive fixes
2019-12-07 12:41:28 -08:00
Michael Scire
b1a9e8d0df
compat fixes for libnx master
2019-12-07 12:41:28 -08:00
Michael Scire
4f9838df3c
avoid lambda use in shared_ptr deleters
2019-12-07 12:41:28 -08:00
Michael Scire
f4ca2c02a7
fs.mitm: Implement bis protection
2019-12-07 12:41:28 -08:00
Michael Scire
e1391d4162
stop overriding user config on update
2019-12-07 12:41:28 -08:00
Michael Scire
8d9c51f204
set_mitm: embed defaults in code, allow for missing ini
2019-12-07 12:41:28 -08:00
Michael Scire
c10ba67973
ams_mitm: Implement system settings mitm
2019-12-07 12:41:28 -08:00
Michael Scire
55610694c8
ams_mitm: Implement set:sys firmwareversion mitm
2019-12-07 12:41:28 -08:00
Michael Scire
8764d94fd9
Implement set_mitm
2019-12-07 12:41:28 -08:00
Michael Scire
5228768841
ams_mitm: implement hid mitm
2019-12-07 12:41:28 -08:00
Michael Scire
9c68bea16c
Add icon for reboot to payload ( closes #644 )
2019-12-07 12:41:28 -08:00
Michael Scire
5484740cab
hbl: support different keys for any-app vs specific
...
This also makes the default configuration:
To override a generic app, hold R.
To override album, do not hold R.
2019-12-07 12:41:28 -08:00
Michael Scire
421324b498
mitm/cfg: pass around override status for decision-making
2019-12-07 12:41:28 -08:00
Michael Scire
37e065fa2d
ams_mitm: implement bpc:mitm
2019-12-07 12:41:28 -08:00
Michael Scire
b758e3fc55
strat: update for latest libnx.
2019-12-07 12:41:28 -08:00
Michael Scire
393596ef9a
ams_mitm: begin skeleton refactor
2019-12-07 12:41:28 -08:00
Michael Scire
02d4c97c6d
sf: explicitly namespace in DEFINE_SERVICE_DISPATCH_TABLE
2019-12-07 12:41:28 -08:00
Michael Scire
2c5ef434f0
sf: fixes (basic mitm service functionality now confirmed working)
2019-12-07 12:41:28 -08:00
Michael Scire
122f3e4403
libstrat: implement mitm server registration
2019-12-07 12:41:28 -08:00
Michael Scire
ea3ebbaa7d
strat: TitleId -> ProgramId, titles->contents
2019-12-07 12:41:28 -08:00
Michael Scire
1636668762
strat: fixes for compat with latest libnx
2019-12-07 12:41:28 -08:00
Michael Scire
c6b9a0c4bf
sf: PrepareForErrorReply is common to all objects
2019-12-07 12:41:28 -08:00
Michael Scire
93a218abeb
libstrat: enable lto
2019-12-07 12:41:28 -08:00
Michael Scire
d7a06057eb
strat: split out common functionality for future meso use
2019-12-07 12:41:28 -08:00
Michael Scire
8cb77ac136
namespace sts -> namespace ams
...
namespace sts::ams -> ams::exosphere, ams::.
This is to facilitate future use of ams:: namespace code in
mesosphere, as we'll want to include ams::util, ams::result, ams::svc...
2019-12-07 12:41:28 -08:00
Michael Scire
4059dc6187
Results: Implement namespaced, type-safe results.
...
Because I was working on multiple things at once, this commit also:
- Adds wrappers for/linker flags to wrap CXX exceptions to make them
abort. This saves ~0x8000 of memory in every system module.
- Broadly replaces lines of the pattern if (cond) { return ResultX; }
with R_UNLESS(!cond, ResultX());.
- Reworks the R_TRY_CATCH macros (and the result macros in general).
2019-12-07 12:41:28 -08:00
Michael Scire
15773e4755
libstrat: fix domain issues. in/out objects now work.
2019-12-07 12:41:28 -08:00
Michael Scire
4f455dacf4
sf: implement mitm forwarding + domains.
2019-12-07 12:41:28 -08:00
Michael Scire
0b22af1206
libstrat: namespace remaining non-namespaced code. more new-ipc updates
2019-12-07 12:41:28 -08:00
Michael Scire
ae2fa2fa60
boot: reduce memory footprint
2019-12-07 12:41:28 -08:00
Michael Scire
6abd756e0c
boot2: move to separate process
2019-12-07 12:41:28 -08:00
Michael Scire
535e49a38d
strat: statically allocate additional threads
2019-12-07 12:41:28 -08:00
Michael Scire
fbb5730369
strat: update for latest libnx commit
2019-12-07 12:41:28 -08:00
Michael Scire
e5d62025d3
dmnt: update for new-ipc
2019-12-07 12:41:28 -08:00
Michael Scire
89c6fc6437
creport: update for new-ipc
2019-12-07 12:41:28 -08:00
Michael Scire
799c158b86
fatal: update for new-ipc
2019-12-07 12:41:28 -08:00
Michael Scire
8d16d2152b
boot: update for api changes
2019-12-07 12:41:28 -08:00
Michael Scire
635ae4e3da
spl: update for new-ipc (fixes two bugs in sf)
2019-12-07 12:41:28 -08:00
Michael Scire
59140d8dfa
sf-impl: remove debug condition
2019-12-07 12:41:28 -08:00
Michael Scire
2cb8aadafc
pm: statically allocate more resources to save memory
2019-12-07 12:41:28 -08:00
Michael Scire
aa0826bb70
pm: update for new-ipc
2019-12-07 12:41:28 -08:00
Michael Scire
8bd2a9a23b
ldr: fix copy/paste, only 1 ldr:pm session needed
2019-12-07 12:41:28 -08:00