mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
strat: no longer materially constrained by sm session limit
This commit is contained in:
parent
997e4dd665
commit
2e1a93f1d1
37 changed files with 215 additions and 333 deletions
|
@ -387,8 +387,8 @@ namespace ams::boot2 {
|
|||
/* NOTE: Here we work around a race condition in the boot process by ensuring that settings initializes its db. */
|
||||
{
|
||||
/* Connect to set:sys. */
|
||||
sm::ScopedServiceHolder<::setsysInitialize, ::setsysExit> setsys_holder;
|
||||
AMS_ABORT_UNLESS(setsys_holder);
|
||||
R_ABORT_UNLESS(::setsysInitialize());
|
||||
ON_SCOPE_EXIT { ::setsysExit(); };
|
||||
|
||||
/* Retrieve setting from the database. */
|
||||
u8 force_maintenance = 0;
|
||||
|
@ -424,9 +424,7 @@ namespace ams::boot2 {
|
|||
InitializeFsHeapForCleanup();
|
||||
|
||||
/* Temporarily initialize fs. */
|
||||
sm::DoWithSession([&] {
|
||||
R_ABORT_UNLESS(fsInitialize());
|
||||
});
|
||||
R_ABORT_UNLESS(fsInitialize());
|
||||
ON_SCOPE_EXIT { fsExit(); };
|
||||
|
||||
/* Wait for the sd card to be available. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue