Commit Graph

11 Commits

Author SHA1 Message Date
Michael Scire
c9396a6462 ams_mitm: implement ns.mitm 2019-12-07 18:44:56 -08:00
Michael Scire
b969fe0a17 mitm/cfg: pass around override status for decision-making 2019-12-07 18:44:50 -08:00
Michael Scire
6889953297 strat: TitleId -> ProgramId, titles->contents 2019-12-07 18:44:48 -08:00
Michael Scire
e7450d5340 strat: fixes for compat with latest libnx 2019-12-07 18:44:47 -08:00
Michael Scire
0eea56f077 strat: split out common functionality for future meso use 2019-12-07 18:44:47 -08:00
Michael Scire
528215f443 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 18:44:46 -08:00
Michael Scire
15def4ef63 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 18:44:46 -08:00
Michael Scire
d1ae859891 pm: update for new-ipc 2019-12-07 18:44:35 -08:00
Michael Scire
ec2ea1e850 libstrat: namespace hossynch.hpp 2019-12-07 18:44:28 -08:00
Michael Scire
7bc25c01a0 libstrat: update for pm rewrite 2019-06-29 02:18:57 -07:00
Michael Scire
e37089d167 libstrat: implement functionality for loader rewrite 2019-06-26 15:45:35 -07:00