mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 18:05:11 -04:00
Implement support for parsing/interacting with NCAs. (#942)
* fs: implement support for interacting with ncas. * spl: extend to use virtual keyslots
This commit is contained in:
parent
3a1ccdd919
commit
81f91803ec
118 changed files with 13301 additions and 405 deletions
|
@ -75,7 +75,7 @@ void __appInit(void) {
|
|||
R_ABORT_UNLESS(fsInitialize());
|
||||
lr::Initialize();
|
||||
R_ABORT_UNLESS(fsldrInitialize());
|
||||
R_ABORT_UNLESS(splInitialize());
|
||||
spl::Initialize();
|
||||
});
|
||||
|
||||
ams::CheckApiVersion();
|
||||
|
@ -83,7 +83,7 @@ void __appInit(void) {
|
|||
|
||||
void __appExit(void) {
|
||||
/* Cleanup services. */
|
||||
splExit();
|
||||
spl::Finalize();
|
||||
fsldrExit();
|
||||
lr::Finalize();
|
||||
fsExit();
|
||||
|
@ -121,9 +121,9 @@ int main(int argc, char **argv)
|
|||
|
||||
/* Configure development. */
|
||||
/* NOTE: Nintendo really does call the getter function three times instead of caching the value. */
|
||||
ldr::SetDevelopmentForAcidProductionCheck(spl::IsDevelopmentHardware());
|
||||
ldr::SetDevelopmentForAntiDowngradeCheck(spl::IsDevelopmentHardware());
|
||||
ldr::SetDevelopmentForAcidSignatureCheck(spl::IsDevelopmentHardware());
|
||||
ldr::SetDevelopmentForAcidProductionCheck(spl::IsDevelopment());
|
||||
ldr::SetDevelopmentForAntiDowngradeCheck(spl::IsDevelopment());
|
||||
ldr::SetDevelopmentForAcidSignatureCheck(spl::IsDevelopment());
|
||||
|
||||
/* Add services to manager. */
|
||||
R_ABORT_UNLESS((g_server_manager.RegisterServer<ldr::pm::ProcessManagerInterface>(ProcessManagerServiceName, ProcessManagerMaxSessions)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue