mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -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
|
@ -64,7 +64,7 @@ void __appInit(void) {
|
|||
sm::DoWithSession([&]() {
|
||||
R_ABORT_UNLESS(setsysInitialize());
|
||||
R_ABORT_UNLESS(fsInitialize());
|
||||
R_ABORT_UNLESS(splInitialize());
|
||||
spl::Initialize();
|
||||
if (hos::GetVersion() < hos::Version_3_0_0) {
|
||||
R_ABORT_UNLESS(pminfoInitialize());
|
||||
}
|
||||
|
@ -80,6 +80,7 @@ void __appExit(void) {
|
|||
if (hos::GetVersion() < hos::Version_3_0_0) {
|
||||
pminfoExit();
|
||||
}
|
||||
|
||||
setsysExit();
|
||||
}
|
||||
|
||||
|
@ -114,9 +115,9 @@ int main(int argc, char **argv)
|
|||
|
||||
/* Initialize Debug config. */
|
||||
{
|
||||
ON_SCOPE_EXIT { splExit(); };
|
||||
ON_SCOPE_EXIT { spl::Finalize(); };
|
||||
|
||||
ro::SetDevelopmentHardware(spl::IsDevelopmentHardware());
|
||||
ro::SetDevelopmentHardware(spl::IsDevelopment());
|
||||
ro::SetDevelopmentFunctionEnabled(spl::IsDevelopmentFunctionEnabled());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue