Michael Scire
dbfcbf55c7
ams: misc fixes for merge-errors
2020-03-06 11:34:11 -08:00
Michael Scire
70f84e0511
Merge remote-tracking branch 'upstream/master' into ncm
2020-03-06 11:25:43 -08:00
Michael Scire
7004ad3d7f
fs: improve UnsupportedOperation results
2020-03-06 09:50:59 -08:00
Michael Scire
150efae91e
ams.mitm: use fs bindings instead of stdio
2020-03-06 08:21:25 -08:00
Michael Scire
c4bf3adb4f
ncm: refactor IDs, split types header into many headers
2020-03-06 08:07:40 -08:00
Michael Scire
06ba2ed8de
ams-except-ncm: use R_SUCCEED_IF
2020-03-06 02:25:03 -08:00
Michael Scire
32f6660b7a
fs: implement accessor wrappers for ncm
2020-03-03 21:52:28 -08:00
Michael Scire
392c9c3a0b
ams: prepare for 0.10.3
2020-03-02 18:35:10 -08:00
Michael Scire
dc1404061c
fs.mitm: implement layered html redirection ( closes #814 )
2020-02-25 16:44:36 -08:00
Michael Scire
8da705d40b
fs.mitm: support html redirection (non-layered, for #814 )
2020-02-25 06:41:53 -08:00
Michael Scire
40400aee1f
ams: revamp assertion system
2020-02-22 23:05:14 -08:00
Michael Scire
6ecf04c3b7
find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} +
2020-01-24 02:10:40 -08:00
Michael Scire
d779eea009
hid.mitm: disable by default
2020-01-02 22:40:47 -08:00
Michael Scire
3038612774
ams: use bitpack for api version
2020-01-02 18:17:48 -08:00
Michael Scire
48772307bf
bpc.mitm: detect preferred reboot function ( closes #785 )
2020-01-01 21:50:42 -08:00
Michael Scire
3e2ec256ab
fs.mitm: mitm sdb (allows common sysarchive redir)
2019-12-31 01:57:26 -08:00
Michael Scire
5a15d62b8b
fs.mitm: require less contiguous memory to build romfs
2019-12-30 05:02:07 -08:00
Michael Scire
d0404f3cc9
fs.mitm: lazily initialize sd-romfs metadata
2019-12-30 03:23:40 -08:00
Michael Scire
2ae298de24
fs.mitm: conserve memory when building romfs paths
2019-12-30 02:51:32 -08:00
Michael Scire
06e4b94674
fs.mitm: only iter romfs dir if it exists ( closes #763 )
2019-12-16 17:31:53 -08:00
Michael Scire
2c9e1a814c
Bump version to 0.10.1
2019-12-10 18:33:01 -08:00
Michael Scire
3c7ece2f8b
fs.mitm: fix infinite loop due to off-by-one in romfs read comparison
2019-12-07 21:27:12 -08:00
Michael Scire
889ea5e5aa
Fix memory corruption in romfs build ( closes #708 )
2019-12-07 17:43:11 -08:00
Michael Scire
0c590eb768
Fix double semi-colon
2019-12-07 14:03:47 -08:00
Michael Scire
bd40d4f237
Turn on fs.mitm multithreading
2019-12-07 14:02:07 -08:00
Michael Scire
2bb77237bc
Increase default applet reservation size to make psel work
2019-12-07 13:45:14 -08:00
Michael Scire
4f29eedfe9
ams_mitm: implement hbl_html redirection
2019-12-07 12:41:28 -08:00
Michael Scire
66372e2b2e
ams_mitm: implement ns.mitm
2019-12-07 12:41:28 -08:00
Michael Scire
bbdc643b6d
ams_mitm: fix directory save bugs
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
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
f4ca2c02a7
fs.mitm: Implement bis protection
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
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
393596ef9a
ams_mitm: begin skeleton refactor
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
add18d868f
sts: add STS_UNREACHABLE_DEFAULT_CASE()
2019-12-07 12:41:28 -08:00
Michael Scire
609a302e16
os: implement waitable management.
...
This implements waitable management for Events (and
implements Events). It also refactors PM to use new
Event/Waitable semantics, and also adds STS_ASSERT
as a macro for asserting a boolean expression. The
rest of stratosphere has been refactored to use
STS_ASSERT whenever possible.
2019-12-07 12:41:28 -08:00
Michael Scire
e07011be32
mitm: fix long-standing C descriptor issue.
2019-12-07 12:41:28 -08:00
Michael Scire
bb223eb5ae
libstrat: namespace hossynch.hpp
2019-12-07 12:41:28 -08:00
Michael Scire
a750e55f75
tmp-hid-mitm: less aggressively enable controllers
...
This fixes a crash in SSBU and possibly other games.
2019-09-14 13:37:31 -07:00