Typo
This commit is contained in:
parent
565a4fd7b7
commit
4356de9c28
1 changed files with 1 additions and 12 deletions
|
@ -236,19 +236,8 @@ private:
|
||||||
void GetResult(HLERequestContext& ctx) {
|
void GetResult(HLERequestContext& ctx) {
|
||||||
LOG_DEBUG(Service_NIFM, "(STUBBED) called");
|
LOG_DEBUG(Service_NIFM, "(STUBBED) called");
|
||||||
|
|
||||||
const auto result = [this] {
|
|
||||||
const auto has_connection = Network::GetHostIPv4Address().has_value();
|
|
||||||
switch (state) {
|
|
||||||
case RequestState::NotSubmitted:
|
|
||||||
return has_connection ? ResultSuccess : ResultNetworkCommunicationDisabled;
|
|
||||||
case RequestState::Accepted:
|
|
||||||
default:
|
|
||||||
return ResultSuccess;
|
|
||||||
}
|
|
||||||
}();
|
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(result);
|
rb.Push(ResultSuccess);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetSystemEventReadableHandles(HLERequestContext& ctx) {
|
void GetSystemEventReadableHandles(HLERequestContext& ctx) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue