mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -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
|
@ -24,8 +24,8 @@ namespace ams::gpio::driver::board::nintendo::nx::impl {
|
|||
|
||||
spl::HardwareType GetHardwareType() {
|
||||
/* Acquire access to spl: */
|
||||
sm::ScopedServiceHolder<spl::Initialize, spl::Finalize> spl_holder;
|
||||
AMS_ABORT_UNLESS(static_cast<bool>(spl_holder));
|
||||
spl::Initialize();
|
||||
ON_SCOPE_EXIT { spl::Finalize(); };
|
||||
|
||||
/* Get config. */
|
||||
return ::ams::spl::GetHardwareType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue