From 4356de9c28018832d31e7c57a8e1741477c8ad81 Mon Sep 17 00:00:00 2001 From: daisymlleung <151548046+daisymlleung@users.noreply.github.com> Date: Sun, 26 Nov 2023 01:22:18 +0800 Subject: [PATCH] Typo --- src/core/hle/service/nifm/nifm.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index bffc2d7e43..60651089b3 100644 --- a/src/core/hle/service/nifm/nifm.cpp +++ b/src/core/hle/service/nifm/nifm.cpp @@ -236,19 +236,8 @@ private: void GetResult(HLERequestContext& ctx) { 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}; - rb.Push(result); + rb.Push(ResultSuccess); } void GetSystemEventReadableHandles(HLERequestContext& ctx) {