Commit Graph

8 Commits

Author SHA1 Message Date
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
ec2ea1e850 libstrat: namespace hossynch.hpp 2019-12-07 18:44:28 -08:00
TuxSH
a4a3ebed50 Fix building with latest commit 2019-07-16 01:24:26 +02:00
Michael Scire
d7d7cba3d3 title ids: go all in on ncm::TitleId 2019-07-02 20:53:44 -07: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