mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
ams: use psc acknowledge_ex on 5.1.0+ (fixes wake-from-sleep on 5.1.0)
This commit is contained in:
parent
8e75a4169d
commit
0e289461bb
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ namespace ams::psc::sf {
|
|||
MAKE_SERVICE_COMMAND_META(GetRequest),
|
||||
MAKE_SERVICE_COMMAND_META(Acknowledge),
|
||||
MAKE_SERVICE_COMMAND_META(Finalize),
|
||||
MAKE_SERVICE_COMMAND_META(AcknowledgeEx, hos::Version_6_0_0), /* TODO: This is really 5.1.0... */
|
||||
MAKE_SERVICE_COMMAND_META(AcknowledgeEx, hos::Version_5_1_0),
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ namespace ams::psc {
|
|||
R_ABORT_UNLESS(res);
|
||||
R_UNLESS(this->initialized, psc::ResultNotInitialized());
|
||||
|
||||
if (hos::GetVersion() >= hos::Version_6_0_0) {
|
||||
if (hos::GetVersion() >= hos::Version_5_1_0) {
|
||||
return this->intf->AcknowledgeEx(state);
|
||||
} else {
|
||||
return this->intf->Acknowledge();
|
||||
|
|
Loading…
Reference in a new issue