summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSönke Holz <sholz8530@gmail.com>2021-08-13 00:24:33 +0200
committerSönke Holz <sholz8530@gmail.com>2021-08-13 00:24:33 +0200
commitacca8aca8c3edb2a79a87276a681a7a559242166 (patch)
treee6e7e7875778b6a8383bcb890e45bfa79dfe770a
parentnifm: treat a missing host IP address as a non-critical error (diff)
downloadyuzu-acca8aca8c3edb2a79a87276a681a7a559242166.tar
yuzu-acca8aca8c3edb2a79a87276a681a7a559242166.tar.gz
yuzu-acca8aca8c3edb2a79a87276a681a7a559242166.tar.bz2
yuzu-acca8aca8c3edb2a79a87276a681a7a559242166.tar.lz
yuzu-acca8aca8c3edb2a79a87276a681a7a559242166.tar.xz
yuzu-acca8aca8c3edb2a79a87276a681a7a559242166.tar.zst
yuzu-acca8aca8c3edb2a79a87276a681a7a559242166.zip
-rw-r--r--src/core/hle/service/nifm/nifm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index f2ab4ffaa..796c89d47 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -330,7 +330,7 @@ private:
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.PushRaw(ipv4.value());
+ rb.PushRaw(*ipv4);
}
void CreateTemporaryNetworkProfile(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_NIFM, "called");
@@ -366,7 +366,7 @@ private:
const IpConfigInfo ip_config_info{
.ip_address_setting{
.is_automatic{true},
- .current_address{ipv4.value()},
+ .current_address{*ipv4},
.subnet_mask{255, 255, 255, 0},
.gateway{192, 168, 1, 1},
},