Michael Scire
c42fc16d8e
creport: RESULT_SUCCESS is not a defined value by libnx.
2019-01-22 05:38:27 -08:00
Michael Scire
a09137c008
creport: Okay, maybe actually fix formatting.
2019-01-22 05:38:27 -08:00
Michael Scire
2a2d1bc78b
creport: Fix formatting error.
2019-01-22 05:38:27 -08:00
Michael Scire
50db685274
creport: attempt to improve userbreak errcode output
2019-01-22 05:38:27 -08:00
Michael Scire
a899a61f80
fs.mitm: match any_app override semantics
2019-01-22 05:38:27 -08:00
natinusala
da0d22f05a
loader: add 'override any app' feature
2019-01-22 05:38:27 -08:00
misson20000
35cf3b65a3
loader/ECS: don't clear ECS on failure, add ClearExternalContentSource command
2019-01-22 05:38:27 -08:00
misson20000
a01d0e94f8
stratosphere/Makefile: change KIPS to MODULES
2018-12-21 00:29:08 -08:00
Michael Scire
a9a71fbeed
fs.mitm: Fix HID usage ( closes #292 )
2018-12-10 19:30:59 -08:00
Michael Scire
49d1e65496
tma: Fix nn.tma.PmModuleThread priority
2018-12-07 03:26:06 -08:00
Michael Scire
29153af2bc
tma.tio: Improve read/write bounding.
2018-12-06 23:25:16 -08:00
Michael Scire
f79f4d175b
tma: add more dmnt wrapper commands
2018-12-06 20:21:15 -08:00
Michael Scire
600ad660a6
tma: First pass at tio file read/write
2018-12-06 15:32:27 -08:00
Michael Scire
efcce68a56
tma: Correct JSON to work as non-kip
2018-12-06 13:55:02 -08:00
Michael Scire
6b04c937e6
dmnt: Add remaining TargetIO_File* funcs
2018-12-06 13:39:27 -08:00
Michael Scire
46c50f2cbe
dmnt: Add TargetIO_Open/Close/Read/Write funcs.
2018-12-06 13:16:33 -08:00
Michael Scire
eb6ab2ba62
dmnt: Implement three more easy commands
2018-12-05 23:57:35 -08:00
Michael Scire
8a92a63a64
pm: Don't launch titles twice due to boot2.flag
2018-12-05 23:44:11 -08:00
Michael Scire
907f6fa72d
stratosphere: make tma non-kip, add to build system
2018-12-05 23:36:12 -08:00
Michael Scire
94e527e763
dmnt: Skeleton real process implementation.
2018-12-05 23:35:09 -08:00
Michael Scire
588315f877
dmnt: Create Makefile/Process folder.
2018-12-05 21:08:04 -08:00
Michael Scire
d1985fe77e
tma: better GetSettingsTask output
2018-12-05 13:21:21 -08:00
Michael Scire
61ad4e0991
tma: Implement example set:sys getter service
2018-12-05 13:18:31 -08:00
Michael Scire
24be9ffc57
tma: Add working AtmosphereTestService (echoes As)
2018-12-05 08:33:56 -08:00
Michael Scire
d875d84d2d
tma: Fix sleep/wake semantics, now tested on hardware.
2018-12-05 07:11:06 -08:00
Michael Scire
9fe8b22269
Merge branch 'master' into debugger_dev
2018-12-05 05:44:58 -08:00
Michael Scire
37e5a8544b
tma: Add target initialization/power management logic
2018-12-05 05:31:45 -08:00
Michael Scire
bf7dc84893
tma: first pass at TmaServiceManager
2018-12-05 04:16:48 -08:00
Michael Scire
bb48e33074
tma: Skeleton Service/Task/TaskList classes.
2018-12-05 02:11:20 -08:00
Michael Scire
bbed78149c
fs.mitm: Hog less CPU time if SD card not inserted
2018-12-01 19:07:25 -08:00
Michael Scire
3fa973f430
fatal/set_mitm: Support 1.0.0 kernel.
2018-12-01 19:07:05 -08:00
Michael Scire
2572ae8378
tma: impl helper services, cleanup hostside packets
2018-11-30 18:18:04 -08:00
Michael Scire
46001263f8
tma: impl helper services, cleanup hostside packets
2018-11-30 18:18:04 -08:00
Michael Scire
ec8523af7c
tma: Implement USB packet rw.
2018-11-30 18:18:03 -08:00
Michael Scire
2708de3876
debug-kit: Implement tma.stub
2018-11-30 18:18:03 -08:00
Michael Scire
be5b58d033
fatal: Reboot to RCM if VOL is pressed instead of PWR.
2018-11-30 05:33:35 -08:00
Michael Scire
25956c4fa1
fatal: Print special message for version mistmatch.
2018-11-30 04:51:27 -08:00
Michael Scire
49ad66e478
stratosphere: Fix fs.mitm bis_protect race condition.
2018-11-30 02:42:48 -08:00
Michael Scire
e321f0ac04
Fix libstratosphere update
2018-11-29 12:51:22 -08:00
Michael Scire
87c0c8b83e
Update libstratosphere
2018-11-29 12:48:40 -08:00
Michael Scire
7bc95f35d7
Merge branch 'bis_protect'
2018-11-29 12:48:20 -08:00
Michael Scire
ae4d29a49f
fs.mitm: add flag support for writing bis/reading cal0
2018-11-29 12:30:32 -08:00
Michael Scire
67ff4fe913
fs.mitm: tweak conditions a little more.
2018-11-29 12:20:08 -08:00
Michael Scire
dd255df90d
Change mitm conditions due to sleep mode issue
2018-11-29 12:13:57 -08:00
SciresM
ab33329129
Merge pull request #266 from Atmosphere-NX/fatal
...
Implement custom fatal sysmodule.
2018-11-29 12:04:40 -08:00
Michael Scire
a07e37121d
fs.mitm: loosen boot0 write restrictions, protect keyblobs.
2018-11-15 18:25:11 -08:00
Michael Scire
d88fd04c73
fs.mitm: fix set:sys race condition.
2018-11-15 17:23:05 -08:00
Michael Scire
abde50f162
fs.mitm: wipe CAL0 backup from memory when done.
2018-11-15 15:58:31 -08:00
Michael Scire
2b4e6bf25d
fs.mitm: just intercept literally everything
2018-11-15 15:46:05 -08:00
Michael Scire
ff09efb1bf
fs.mitm: Prevent non-sysmodules from reading CAL0.
2018-11-15 15:29:02 -08:00
Michael Scire
cff283f77d
fs.mitm: Protect the CAL0 backup from being read.
2018-11-15 15:27:01 -08:00
Michael Scire
e0c7bfc93d
fs.mitm: Always mitm non-sysmodules.
2018-11-15 14:59:47 -08:00
Michael Scire
ac391d9c5e
Loader: always redirect sysmodules.
2018-11-15 14:48:18 -08:00
Michael Scire
46cc08160d
mitm: Improve session acquire semantics.
2018-11-15 14:19:34 -08:00
Michael Scire
a00e120bf7
fs.mitm: Make PRODINFO always read-only.
2018-11-15 06:23:44 -08:00
Michael Scire
1932662b4c
fs.mitm: improve backup path name again
2018-11-15 04:54:07 -08:00
Michael Scire
b4781b8a4f
fs.mitm: improve backup path name
2018-11-15 04:52:55 -08:00
Michael Scire
83644692fe
fs.mitm: Automatically backup PRODINFO on boot.
2018-11-15 04:44:13 -08:00
Michael Scire
420361597e
all: Change flagging location. Support (but deprecate) old location.
2018-11-15 04:26:40 -08:00
Michael Scire
05187502b3
fs.mitm: Implement basic boot0 protection against writes/pubk writes.
2018-11-15 03:57:55 -08:00
Michael Scire
878ac59aae
fs.mitm: skeleton logic for protecting autorcm.
2018-11-14 19:49:12 -08:00
Michael Scire
e1cc1b8d29
fs.mitm: Make accesses to Boot0 sectored
2018-11-14 19:40:46 -08:00
Michael Scire
d95fc102db
fs.mitm: Intercept OpenBisStorage calls.
2018-11-14 18:39:48 -08:00
Michael Scire
66da896347
sm: Disable smhax, it interferes with functionality.
2018-11-14 18:39:11 -08:00
SciresM
c530bb8910
Merge branch 'master' into fatal
2018-11-14 14:15:01 -08:00
Michael Scire
8054b2d219
Fatal: save auto-debug info to SD card.
2018-11-14 14:13:31 -08:00
Michael Scire
962fa0a690
fatal: automatically collect backtrace for callers.
2018-11-14 03:23:28 -08:00
Michael Scire
9714db14d2
fatal/creport: Add cpu context.
2018-11-13 20:22:54 -08:00
Michael Scire
50c65ea7e1
fatal: monospace start address
2018-11-13 19:33:21 -08:00
Michael Scire
98bdb2a7a3
fatal: Add fake monospace for hex output
2018-11-13 19:30:40 -08:00
Michael Scire
d4ee772714
fatal: Display start instead of bt if size = 0
2018-11-13 18:11:08 -08:00
Michael Scire
fa9d7f40fc
fatal: Reorder error message lines.
2018-11-13 18:07:27 -08:00
Michael Scire
20026587fd
fatal: Draw GPRs + Backtrace to screen.
2018-11-13 17:53:26 -08:00
Michael Scire
f16423c413
fatal: Add font scaling support
2018-11-13 14:32:50 -08:00
Michael Scire
1bface09d5
fatal: add line spacing func, improve 565->888 for blending
2018-11-13 13:28:05 -08:00
Michael Scire
560d899a9b
Improve text rendering API, add ams version.
2018-11-13 13:11:41 -08:00
Michael Scire
2838e41819
Add defines for atmosphere git revision.
2018-11-13 12:42:35 -08:00
Michael Scire
8550f722ca
fatal: Implement basic text rendering.
2018-11-13 06:03:30 -08:00
Michael Scire
9f6ff2ed6e
Fatal: Implement basic background drawing.
2018-11-12 22:26:13 -08:00
Michael Scire
7d729e1836
creport: Add another code region locating improvement.
2018-11-11 20:00:04 -08:00
Michael Scire
36530a5501
creport: Improve code region list (as N did in 6.1.0)
2018-11-11 19:52:19 -08:00
Michael Scire
caf9d11c8c
fatal: Finish CheckRepairStatus
2018-11-10 13:38:17 -08:00
Michael Scire
f7a7ce1847
fatal: Fix FatalType_ErrorReport fallthrough
2018-11-10 13:17:13 -08:00
Michael Scire
893bad0db2
fatal: Mostly implement CheckRepairStatus
2018-11-10 13:15:48 -08:00
Michael Scire
29833539bb
fatal: Split out fatal from User, stub CheckRepairStatus
2018-11-10 12:56:43 -08:00
Michael Scire
f914edeebd
fatal: Implement configuration based on settings
2018-11-10 12:38:24 -08:00
Michael Scire
5f3187300d
fatal: Skeleton ScreenDrawing code
2018-11-10 11:59:55 -08:00
Michael Scire
5d5f8ad3d5
fatal: Finish StopSoundTask
2018-11-10 04:07:26 -08:00
Michael Scire
f8abd2b402
fatal: Implement the first half of StopSoundTask
2018-11-10 03:51:19 -08:00
Michael Scire
6335d21901
fatal: SleepThread takes ns, not ticks
2018-11-10 03:22:21 -08:00
Michael Scire
5649b6d63f
fatal: Implement BacklightControlTask
2018-11-10 03:16:13 -08:00
Michael Scire
e96eaa3d7c
fatal: Implement AdjustClockTask
2018-11-10 03:05:14 -08:00
Michael Scire
aa86d1abfa
fatal: Implement PowerControlTask
2018-11-10 02:42:07 -08:00
Michael Scire
1228cd6903
fatal: misc cleanup, verified to reboot on hardware
2018-11-10 02:21:29 -08:00
Michael Scire
6f240b1665
fatal: Add missing bpcInitialize() call.
2018-11-10 01:47:02 -08:00
Michael Scire
13e5043d64
fatal: Implement PowerButtonObserveTask
2018-11-10 01:41:47 -08:00
Michael Scire
b771c42f7f
fatal: Implement StateTransitionStopTask
2018-11-10 01:19:52 -08:00
Michael Scire
4d1481e2eb
fatal: Write ErrorReportTask
2018-11-10 01:04:40 -08:00
Michael Scire
21b0f228b6
fatal: Skeleton tasks, write ThrowFatalImpl.
2018-11-10 00:54:12 -08:00
Michael Scire
b9091e9466
fatal: Implement fatal:p, fatal:u stub.
2018-11-10 00:11:38 -08:00
Michael Scire
ce1a6a68bf
fs.mitm/loader: Fix crashes when launching too many processes.
2018-11-08 16:02:04 -08:00
Michael Scire
cf510ad9bf
pm: Only register privileged processes with FS as needed
2018-11-08 05:28:52 -08:00
Michael Scire
54a22797a7
Make libstratosphere a submodule
2018-11-08 01:24:40 -08:00
Michael Scire
5ef01edab5
Delete libstratosphere in prep for submodule
2018-11-08 01:12:30 -08:00
Michael Scire
3b8bb325e8
pm: Use non-system event for process tracking.
2018-11-07 23:43:59 -08:00
Michael Scire
6538554485
libstratosphere: add ReadOnlySystemEvent helper
2018-11-07 23:25:16 -08:00
Michael Scire
9b1a2451b0
libstratosphere: Add thread primitive, WaitableManager->RequestStop()
2018-11-07 23:25:11 -08:00
Michael Scire
e65bee0d6a
libstratosphere: Implement message queues
2018-11-07 23:25:00 -08:00
Michael Scire
8426a4dc77
libstrat: Use iterators when looping deferred waitables
2018-11-07 22:59:30 -08:00
Michael Scire
147f3c690a
libstrat: Significantly cleanup waitable manager result handling.
2018-11-07 22:40:19 -08:00
Michael Scire
bac81f4ccc
libstrat: fix potential oob deref in WaitableManager ( closes #256 )
2018-11-07 19:10:04 -08:00
Michael Scire
2894989eb7
libstrat: improve waitable manager cancelsync semantics
2018-11-07 12:42:06 -08:00
Michael Scire
952ee4227d
libstrat: update curthreadhandle for libnx 1.5.0
2018-11-05 22:56:04 -08:00
Michael Scire
9142e90a04
libstratosphere: Use intraprocess event signaling for new waitable management
2018-11-05 18:35:21 -08:00
Michael Scire
3ed239296a
libstrat: Allow nullptr buffers if 0 size. ( closes #255 )
2018-11-04 21:52:53 -08:00
Michael Scire
78a47dba6d
fs.mitm: Cache IStorageInterfaces, store meta on SD instead of memory.
2018-11-04 13:56:07 -08:00
Michael Scire
5d0aabaa44
fs.mitm: Fix romfs detection on SD
2018-11-04 12:48:14 -08:00
Michael Scire
e786bc7e9a
fs.mitm: Only create storage interface when needed.
2018-11-04 12:45:29 -08:00
Michael Scire
158f7224a7
set.mitm: fixup NPDM json.
2018-10-31 02:07:35 -07:00
SciresM
b8f93562c0
Merge branch 'master' into npdmfixup
2018-10-31 18:02:07 +09:00
Michael Scire
be044e691c
libstrat: delete old ipc templating.
2018-10-30 15:57:15 -07:00
TuxSH
536b89efae
Add boost as submodule
2018-10-30 23:49:26 +01:00
Michael Scire
44175058f6
libstrat: mark ServiceObjectHolder functions const
2018-10-31 05:04:00 +09:00
Michael Scire
6336089b63
libstrat: remove unused struct in serializer
2018-10-31 05:04:00 +09:00
Michael Scire
6ef34d80a0
libstrat: automatically detect+format rawdata structs correctly.
2018-10-31 05:04:00 +09:00
Michael Scire
2f7224edce
fs.mitm: increase thread count back to 5.
2018-10-31 05:04:00 +09:00
Michael Scire
c49cfbd6af
loader: update for libstratosphere refactor
2018-10-31 05:04:00 +09:00
Michael Scire
bbffbd654f
set.mitm: Split out from fs.mitm
2018-10-31 05:04:00 +09:00
Michael Scire
4cdd9aa8f1
libstratosphere: Fix uninitialized memory bug.
2018-10-31 05:04:00 +09:00
Michael Scire
23a85a7c24
fs.mitm: split out set.mitm
2018-10-31 05:04:00 +09:00
Michael Scire
3dc679215b
fs.mitm: Remove debugging options
2018-10-31 05:04:00 +09:00
Michael Scire
aef7d36300
fs.mitm: update for libstratosphere refactor
2018-10-31 05:04:00 +09:00
Michael Scire
887b4e0275
pm: update for libstratosphere refactor
2018-10-31 05:04:00 +09:00
Michael Scire
9a8c70ed68
sm: Update for libstratosphere refactor
2018-10-31 05:04:00 +09:00
Michael Scire
058f735031
libstratosphere: refactor everything
2018-10-31 05:04:00 +09:00
misson20000
5c147e5188
loader: add SetExternalContentSource extension
2018-10-29 07:11:16 +09:00
misson20000
18f51e9b2e
loader: add NpdmUtils function for invalidating the cache for a specific title
2018-10-29 07:11:16 +09:00
misson20000
376feb63bd
loader: make ShouldOverrideContents take a tid argument
2018-10-29 07:11:16 +09:00
Michael Scire
c0fe4f7af7
fs.mitm: Intercept qlaunch sysver request
2018-10-24 14:16:39 -07:00
Michael Scire
e1d884960d
fs.mitm: Improve configuration refresh file semantics.
2018-10-22 23:00:22 -07:00
Michael Scire
db97dd8d75
Loader: clean up orphaned function prototype
2018-10-22 22:56:26 -07:00
Michael Scire
f96e1d5074
loader/fs.mitm: Support override config changes at runtime
2018-10-22 22:53:40 -07:00
SciresM
85540d4ad2
fs.mitm: Fix correctness bug in LayeredRomfs::Read().
2018-10-19 12:15:18 +09:00
Michael Scire
06accd00f9
pm: steal memory from 4.0.0+ ? applet : application
2018-10-17 16:28:53 -07:00
Michael Scire
5dc31f001e
Stratosphere: Fix FS permissions for <4.0.0 KIPs
2018-10-17 16:26:36 -07:00
Michael Scire
781f2597e5
libstratosphere: Fix receive for multi-static IPC buffers
2018-10-17 03:49:05 -07:00
Michael Scire
4944986814
fs.mitm: Allow for disabling mitm for a title via flag.
2018-10-16 20:41:19 -07:00
Michael Scire
55ad57a02d
fs.mitm: Use same override button semantics as loader.
2018-10-16 19:01:41 -07:00
Michael Scire
6711cd93a8
atmosphere: extract API version management to common folder
2018-10-16 17:54:50 -07:00
Michael Scire
f603dbfc98
fs.mitm: Add domain support ( closes #202 )
2018-10-16 13:33:45 -07:00
Pika
9ae62a27dd
Fix ProcesState enum field names
2018-10-16 20:29:48 +09:00
Michael Scire
20faa7f00b
Loader: fix automatic apptype patching.
2018-10-05 09:13:00 -07:00
misson20000
2d6aba7a70
pm: add AtmosphereGetCurrentLimitInfo command to pm:dmnt
2018-10-05 13:55:27 +09:00
roblabla
0938057d67
Use new npdm-json format
2018-09-29 02:37:25 +00:00
Michael Scire
532b4f4de2
Loader: Fix HBL pool partition ID copy
2018-09-19 16:30:11 -07:00
Michael Scire
6afbcd12d9
Loader: Button override + first-class HBL support
2018-09-19 16:21:46 -07:00
TuxSH
d8391078c8
Fix creport according to latest libnx release changes
2018-09-19 15:03:50 +02:00
Michael Scire
0cad1935dd
libstratosphere: Fix condvar wrapper primitives
2018-09-09 07:04:16 -07:00
Michael Scire
488fc0f119
pm: Support for 6.0.0
2018-09-08 23:47:15 -07:00
hexkyz
28e4d4411d
Add and fix copyright notices for better GPL compliance (thanks @naehrwert and @CTCaer).
2018-09-07 16:00:13 +01:00
SciresM
bb0f3ac024
loader: Add support for 6.0.0.
2018-09-06 11:57:57 +09:00
Michael Scire
de49cfefac
creport: Print Break information on UserBreak
2018-08-11 19:16:29 -07:00
Michael Scire
326d58e28c
creport: tabs -> spaces
2018-08-11 19:02:12 -07:00
Michael Scire
6c8a1a39e1
creport: fix various issues, improve support ( closes #187 )
...
-Fixes a NULL deref in thread info parsing
-Heuristically uses [<buildid>] instead of rodata contents if NSO has no
name segment
-Adds full thread/code region dump for all firmwares, instead of just
5.x.
2018-08-11 18:46:41 -07:00
Michael Scire
761ab4fcfe
Creport: Update makefile to build npdm/nsp
2018-08-10 19:52:32 -07:00
Pika
294f05ea56
make all (working) sysmodules compile
2018-08-03 02:20:52 -07:00
Michael Scire
441e58be56
anti-telemetry: Do not boot Error Collection sysmodule
2018-08-01 23:15:52 -07:00
Michael Scire
cb4089e49c
Stratosphere: use isxdigit to check if char is hex.
2018-07-29 17:27:30 -07:00
Michael Scire
c70420d996
creport: Actually change report paths.
2018-07-29 16:54:15 -07:00
Michael Scire
84bcaf8dc6
creport: Change report path to crash_reports
2018-07-29 16:48:33 -07:00
Michael Scire
c547ed50aa
Loader: Fix exefs nsp support. Works on hardware.
2018-07-29 16:45:29 -07:00
Michael Scire
3a2520a3b7
Loader: Add support for exefs redirection to code nsp on SD.
2018-07-29 16:35:43 -07:00
Michael Scire
44e2412ae6
Loader: Change ips patch location to ease patch distribution
2018-07-29 11:27:19 -07:00
Michael Scire
e697f6bdd0
fs.mitm: Fix flag detection.
2018-07-29 11:21:42 -07:00
Michael Scire
de05685e3d
fs.mitm: Remove shim for fsStorageGetSize, which was added to libnx
2018-07-29 11:07:05 -07:00
Michael Scire
674a91db8c
Loader/ips: Fix more bugs, now works with simple test on hw.
2018-07-28 21:06:50 -07:00
Michael Scire
08275240c6
Loader/ips: fix compile error
2018-07-28 20:41:13 -07:00
Michael Scire
75916001a2
Loader: Fix IPS edge condition, change ips location
2018-07-28 20:36:30 -07:00
Michael Scire
0f5f3c2ad0
Loader: Implement IPS/IPS32 patching.
2018-07-28 20:28:17 -07:00
Michael Scire
c1fd2eda20
Loader: Skeleton IPS/IPS32 patching support.
2018-07-28 20:01:09 -07:00
Michael Scire
cd42f6dc18
fs.mitm: Allow fsmitm.flag specification for mitm
2018-07-28 12:29:54 -07:00
Michael Scire
a811b447ce
creport: Pretty-print addresses whenever possible.
2018-07-27 20:34:09 -07:00
Michael Scire
5993614c2e
fs.mitm: Try to MitM titles that have override RomFS content on the SD card
2018-07-27 20:15:06 -07:00
Michael Scire
2a6348cd73
creport: add fsp-srv access to npdm
2018-07-27 19:57:32 -07:00
Michael Scire
b365065a2d
Loader: Support loading FsStorageId_None content from SD.
2018-07-27 19:53:20 -07:00
Michael Scire
5a63f4e304
PM: Make boot2 launch SD card content with StorageId_None
2018-07-27 19:34:22 -07:00
Michael Scire
2667266aad
pm.boot2: Skeleton hook for SD-mandated launches
2018-07-27 03:22:06 -07:00
Michael Scire
c079803189
PM: Use enum in EmbeddedBoot2
2018-07-27 02:37:45 -07:00
Michael Scire
9f16062767
PM: Embed boot2 logic in PM.
2018-07-27 02:23:53 -07:00
misson20000
6adcb483e5
pm: remove magic flag/event numbers to improve readability and understandability
2018-07-27 02:03:28 -07:00
Michael Scire
9d0d9d95e1
Stratosphere: Give more memory to SYSTEM, use less memory.
2018-07-27 01:44:34 -07:00
hexkyz
7836609839
Fix multiple issues reported by Coverity Scan
2018-07-26 18:45:18 +01:00
Michael Scire
dd4993dfda
Loader: Use HW-acceleration for SHA256
2018-07-24 01:26:37 -07:00
Michael Scire
eaa282b915
Fix additional UAF in DirEntry building
2018-07-19 21:21:50 -06:00
Michael Scire
a46e796f4d
fs.mitm: Fix UAF in every DirEntry processed.
...
How on earth did this code ever work?
2018-07-19 21:17:57 -06:00
Léo Lam
49ba91a8f3
fs_istorage: Default IStorage destructor in cpp
...
Prevents a -Wweak-vtables warning.
2018-07-10 09:38:18 -07:00
Léo Lam
e088a2f414
stratosphere: In-class initialize members
...
Same thing, less code, less boilerplate.
2018-07-10 09:38:18 -07:00
Léo Lam
5b3e8e1c5d
stratosphere: Use RAII for locks
...
This renames the Mutex class member functions so that the mutex types
satisfy Lockable.
This makes them usable with standard std::scoped_lock
and std::unique_lock, which lets us use RAII and avoids the need
for a custom RAII wrapper :)
2018-07-10 09:38:18 -07:00
Léo Lam
18153713d9
pm: Fix missing include
2018-07-10 09:38:18 -07:00
Léo Lam
a28b40866a
stratosphere: Remove an unneeded constructor
...
domain_objects is already an array of empty std::shared_ptrs (since
std::shared_ptr has a sane default constructor).
2018-07-10 09:38:18 -07:00