From 7e128afe24e23dd22b62556db6c82d542ed3ab6a Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Tue, 23 Apr 2019 02:03:21 +0800 Subject: [PATCH] remove SetOperationMode #14 --- ldn_mitm/source/ldn_icommunication.cpp | 4 ---- ldn_mitm/source/ldn_icommunication.hpp | 3 --- 2 files changed, 7 deletions(-) diff --git a/ldn_mitm/source/ldn_icommunication.cpp b/ldn_mitm/source/ldn_icommunication.cpp index cda1579..5717e90 100644 --- a/ldn_mitm/source/ldn_icommunication.cpp +++ b/ldn_mitm/source/ldn_icommunication.cpp @@ -74,10 +74,6 @@ Result ICommunicationInterface::SetWirelessControllerRestriction() { return 0; } -Result ICommunicationInterface::SetOperationMode(u8 mode) { - return 0; -} - Result ICommunicationInterface::GetState(Out state) { state.SetValue(static_cast(this->lanDiscovery.getState())); diff --git a/ldn_mitm/source/ldn_icommunication.hpp b/ldn_mitm/source/ldn_icommunication.hpp index d989f6b..70e79b6 100644 --- a/ldn_mitm/source/ldn_icommunication.hpp +++ b/ldn_mitm/source/ldn_icommunication.hpp @@ -52,7 +52,6 @@ enum LdnCommCmd { LdnCommCmd_Initialize = 400, LdnCommCmd_Finalize = 401, LdnCommCmd_InitializeSystem2 = 402, // nyi - LdnCommCmd_SetOperationMode = 403, // nyi }; class ICommunicationInterface : public IServiceObject { @@ -94,7 +93,6 @@ class ICommunicationInterface : public IServiceObject { Result Connect(ConnectNetworkData dat, InPointer data); Result GetNetworkInfoLatestUpdate(OutPointerWithServerSize buffer, OutPointerWithClientSize pUpdates); Result SetWirelessControllerRestriction(); - Result SetOperationMode(u8 mode); public: DEFINE_SERVICE_DISPATCH_TABLE { MakeServiceCommandMeta(), @@ -120,6 +118,5 @@ class ICommunicationInterface : public IServiceObject { MakeServiceCommandMeta(), MakeServiceCommandMeta(), MakeServiceCommandMeta(), - MakeServiceCommandMeta(), }; };