mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 10:52:48 -06:00
Silence nifm spam
This commit is contained in:
parent
0cfeb2e8d7
commit
4da4ecb1ff
3 changed files with 5 additions and 5 deletions
|
@ -218,7 +218,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Submit(HLERequestContext& ctx) {
|
void Submit(HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_NIFM, "(STUBBED) called");
|
LOG_DEBUG(Service_NIFM, "(STUBBED) called");
|
||||||
|
|
||||||
if (state == RequestState::NotSubmitted) {
|
if (state == RequestState::NotSubmitted) {
|
||||||
UpdateState(RequestState::OnHold);
|
UpdateState(RequestState::OnHold);
|
||||||
|
@ -229,7 +229,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetRequestState(HLERequestContext& ctx) {
|
void GetRequestState(HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_NIFM, "(STUBBED) called");
|
LOG_DEBUG(Service_NIFM, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
rb.Push(ResultSuccess);
|
rb.Push(ResultSuccess);
|
||||||
|
@ -237,7 +237,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetResult(HLERequestContext& ctx) {
|
void GetResult(HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_NIFM, "(STUBBED) called");
|
LOG_DEBUG(Service_NIFM, "(STUBBED) called");
|
||||||
|
|
||||||
const auto result = [this] {
|
const auto result = [this] {
|
||||||
const auto has_connection = Network::GetHostIPv4Address().has_value();
|
const auto has_connection = Network::GetHostIPv4Address().has_value();
|
||||||
|
|
|
@ -356,7 +356,7 @@ NetworkInstance::~NetworkInstance() {
|
||||||
std::optional<IPv4Address> GetHostIPv4Address() {
|
std::optional<IPv4Address> GetHostIPv4Address() {
|
||||||
const auto network_interface = Network::GetSelectedNetworkInterface();
|
const auto network_interface = Network::GetSelectedNetworkInterface();
|
||||||
if (!network_interface.has_value()) {
|
if (!network_interface.has_value()) {
|
||||||
LOG_ERROR(Network, "GetSelectedNetworkInterface returned no interface");
|
LOG_DEBUG(Network, "GetSelectedNetworkInterface returned no interface");
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,7 @@ std::optional<NetworkInterface> GetSelectedNetworkInterface() {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res == network_interfaces.end()) {
|
if (res == network_interfaces.end()) {
|
||||||
LOG_ERROR(Network, "Couldn't find selected interface \"{}\"", selected_network_interface);
|
LOG_DEBUG(Network, "Couldn't find selected interface \"{}\"", selected_network_interface);
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue