diff options
author | Lioncash <mathew1800@gmail.com> | 2020-09-17 17:03:23 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-09-17 17:03:26 +0200 |
commit | 8bbd82863d8d42be8fc472d02ecc4000daeab61a (patch) | |
tree | 1d079032f20d8aa985a6bdc98b166b913510d4a5 /src/core/hle/service/service.cpp | |
parent | Merge pull request #4653 from ReinUsesLisp/gc-warns (diff) | |
download | yuzu-8bbd82863d8d42be8fc472d02ecc4000daeab61a.tar yuzu-8bbd82863d8d42be8fc472d02ecc4000daeab61a.tar.gz yuzu-8bbd82863d8d42be8fc472d02ecc4000daeab61a.tar.bz2 yuzu-8bbd82863d8d42be8fc472d02ecc4000daeab61a.tar.lz yuzu-8bbd82863d8d42be8fc472d02ecc4000daeab61a.tar.xz yuzu-8bbd82863d8d42be8fc472d02ecc4000daeab61a.tar.zst yuzu-8bbd82863d8d42be8fc472d02ecc4000daeab61a.zip |
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r-- | src/core/hle/service/service.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 94bc5ade7..76b3533ec 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -72,25 +72,6 @@ namespace Service { -/** - * Creates a function string for logging, complete with the name (or header code, depending - * on what's passed in) the port name, and all the cmd_buff arguments. - */ -[[maybe_unused]] static std::string MakeFunctionString(std::string_view name, - std::string_view port_name, - const u32* cmd_buff) { - // Number of params == bits 0-5 + bits 6-11 - int num_params = (cmd_buff[0] & 0x3F) + ((cmd_buff[0] >> 6) & 0x3F); - - std::string function_string = fmt::format("function '{}': port={}", name, port_name); - for (int i = 1; i <= num_params; ++i) { - function_string += fmt::format(", cmd_buff[{}]=0x{:X}", i, cmd_buff[i]); - } - return function_string; -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - ServiceFrameworkBase::ServiceFrameworkBase(const char* service_name, u32 max_sessions, InvokerFn* handler_invoker) : service_name(service_name), max_sessions(max_sessions), handler_invoker(handler_invoker) {} @@ -189,9 +170,6 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co return RESULT_SUCCESS; } -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Module interface - /// Initialize ServiceManager void Init(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) { // NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it |