strat: no longer materially constrained by sm session limit
This commit is contained in:
1 parent
997e4dd665
commit
2e1a93f1d1
37 files changed
+215
-333
No files matched your search
@@ -40,12 +40,11 @@ namespace ams::hid {
|
||||
|
||||
/* Helper. */
|
||||
void InitializeHid() {
|
||||
sm::DoWithSession([&]() {
|
||||
R_ABORT_UNLESS(hidInitialize());
|
||||
hidInitializeNpad();
|
||||
R_ABORT_UNLESS(hidSetSupportedNpadIdType(NpadIdTypes, NumNpadIdTypes));
|
||||
R_ABORT_UNLESS(hidSetSupportedNpadStyleSet(HidNpadStyleSet_NpadStandard | HidNpadStyleTag_NpadSystemExt));
|
||||
});
|
||||
R_ABORT_UNLESS(sm::Initialize());
|
||||
R_ABORT_UNLESS(hidInitialize());
|
||||
hidInitializeNpad();
|
||||
R_ABORT_UNLESS(hidSetSupportedNpadIdType(NpadIdTypes, NumNpadIdTypes));
|
||||
R_ABORT_UNLESS(hidSetSupportedNpadStyleSet(HidNpadStyleSet_NpadStandard | HidNpadStyleTag_NpadSystemExt));
|
||||
}
|
||||
|
||||
Result EnsureHidInitialized() {
|
||||
|
||||
Reference in new issue
Block a user