Commit Graph

451 Commits

Author SHA1 Message Date
Michael Scire
4d5a09e5d4 Bump version to 0.10.1 2019-12-10 19:17:52 -08:00
Michael Scire
afac0eec43 sf: Allow for more than one process id holder (ugly) 2019-12-10 19:17:52 -08:00
Michael Scire
3aa675e21c util: add fourcc, intrusive list fixes 2019-12-10 19:17:51 -08:00
Michael Scire
0530eb3212 Fix another off-by-one in TinyMT init calcs 2019-12-10 19:17:51 -08:00
Michael Scire
7a9a3ef53d tinymt: correct init iter count 2019-12-10 19:17:50 -08:00
Michael Scire
5e55beeda0 random: use TinyMT instead of XorShift 2019-12-10 19:17:50 -08:00
Michael Scire
67a268ce8e kvdb: correct condition inversion in kvdb::Archive 2019-12-10 19:17:49 -08:00
Michael Scire
e291079bcd sf: Improve class member function detection 2019-12-10 19:17:48 -08:00
Michael Scire
07af583bb8 Add stratosphere makefile, move common/include to libs 2019-12-09 03:54:45 -08:00
Michael Scire
ef5297acb3 Improve buildsystem, split out generic code 2019-12-08 19:17:05 -08:00
Michael Scire
5797d753bf libstratosphere is now just one lib 2019-12-08 17:01:03 -08:00
Michael Scire
303fc400dd sf: correct size calculation for In/OutArray 2019-12-08 16:30:15 -08:00
Michael Scire
6fafa541cc Improve exception wrapping 2019-12-08 16:30:14 -08:00
Michael Scire
93d4f69168 Implement support for 9.1.0 2019-12-07 18:44:57 -08:00
Michael Scire
62c251ef6d ams_mitm: implement hbl_html redirection 2019-12-07 18:44:57 -08:00
Michael Scire
c9396a6462 ams_mitm: implement ns.mitm 2019-12-07 18:44:56 -08:00
Michael Scire
5f75944505 ams_mitm: fix directory save bugs 2019-12-07 18:44:56 -08:00
Michael Scire
6c6dfbcc4d fix uninitialized data access 2019-12-07 18:44:55 -08:00
Michael Scire
a83655dc53 ams_mitm: Implement savedata redirection 2019-12-07 18:44:55 -08:00
Michael Scire
559640378b ams_mitm: add titles dir compat shim (to remove in 0.10.1) 2019-12-07 18:44:55 -08:00
Michael Scire
bd56a44957 ams_mitm: implement automatic backups of biskeys/cal0 2019-12-07 18:44:54 -08:00
Michael Scire
6f926ea72b shared_from_this requires public inheritance 2019-12-07 18:44:54 -08:00
Michael Scire
f13d2cb6c9 ams_mitm: Implement emummc Nintendo folder redirection 2019-12-07 18:44:54 -08:00
Michael Scire
91817c4367 ams_mitm: implement layeredfs 2019-12-07 18:44:54 -08:00
Michael Scire
5f0779ce15 os/dd: primitive fixes 2019-12-07 18:44:53 -08:00
Michael Scire
fd45f890fa compat fixes for libnx master 2019-12-07 18:44:53 -08:00
Michael Scire
b5fc48fc75 avoid lambda use in shared_ptr deleters 2019-12-07 18:44:53 -08:00
Michael Scire
6d85d6f835 fs.mitm: Implement bis protection 2019-12-07 18:44:52 -08:00
Michael Scire
19f21514d9 stop overriding user config on update 2019-12-07 18:44:52 -08:00
Michael Scire
fd7aad0bf9 ams_mitm: Implement system settings mitm 2019-12-07 18:44:51 -08:00
Michael Scire
b628ea560d ams_mitm: Implement set:sys firmwareversion mitm 2019-12-07 18:44:51 -08:00
Michael Scire
0333c376fd Implement set_mitm 2019-12-07 18:44:51 -08:00
Michael Scire
06e1eca4db ams_mitm: implement hid mitm 2019-12-07 18:44:51 -08:00
Michael Scire
96ab87f2a4 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 18:44:50 -08:00
Michael Scire
b969fe0a17 mitm/cfg: pass around override status for decision-making 2019-12-07 18:44:50 -08:00
Michael Scire
f58c45b2c3 strat: update for latest libnx. 2019-12-07 18:44:49 -08:00
Michael Scire
ef090419f7 ams_mitm: begin skeleton refactor 2019-12-07 18:44:49 -08:00
Michael Scire
ba0edbd9c4 sf: explicitly namespace in DEFINE_SERVICE_DISPATCH_TABLE 2019-12-07 18:44:49 -08:00
Michael Scire
35d0600028 sf: fixes (basic mitm service functionality now confirmed working) 2019-12-07 18:44:48 -08:00
Michael Scire
ce45786551 libstrat: implement mitm server registration 2019-12-07 18:44:48 -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
8da7ecb197 sf: PrepareForErrorReply is common to all objects 2019-12-07 18:44:47 -08:00
Michael Scire
4fabafcd06 libstrat: enable lto 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
1e8b13ac07 libstrat: fix domain issues. in/out objects now work. 2019-12-07 18:44:45 -08:00
Michael Scire
ba1fc9ef0a sf: implement mitm forwarding + domains. 2019-12-07 18:44:44 -08:00
Michael Scire
e2162d3f3d libstrat: namespace remaining non-namespaced code. more new-ipc updates 2019-12-07 18:44:44 -08:00