mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
os: fix missing logic in SdkReplyAndReceive
This commit is contained in:
parent
8ac8abf295
commit
af7233d84c
1 changed files with 2 additions and 2 deletions
|
@ -76,9 +76,9 @@ namespace ams::os::impl {
|
||||||
Result wait_result = ResultSuccess();
|
Result wait_result = ResultSuccess();
|
||||||
if (reply) {
|
if (reply) {
|
||||||
if (infinite && min_timeout_object == nullptr) {
|
if (infinite && min_timeout_object == nullptr) {
|
||||||
|
wait_result = this->target_impl.ReplyAndReceive(std::addressof(index), object_handles, MaximumHandleCount, count, reply_target);
|
||||||
} else {
|
} else {
|
||||||
|
wait_result = this->target_impl.TimedReplyAndReceive(std::addressof(index), object_handles, MaximumHandleCount, count, reply_target, min_timeout);
|
||||||
}
|
}
|
||||||
} else if (infinite && min_timeout_object == nullptr) {
|
} else if (infinite && min_timeout_object == nullptr) {
|
||||||
wait_result = this->target_impl.WaitAny(std::addressof(index), object_handles, MaximumHandleCount, count);
|
wait_result = this->target_impl.WaitAny(std::addressof(index), object_handles, MaximumHandleCount, count);
|
||||||
|
|
Loading…
Reference in a new issue