mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
service: Remove unused funcation
This is now completely unused, so it can be removed.
This commit is contained in:
parent
fcd0925ecf
commit
8bbd82863d
1 changed files with 0 additions and 22 deletions
|
@ -72,25 +72,6 @@
|
||||||
|
|
||||||
namespace Service {
|
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,
|
ServiceFrameworkBase::ServiceFrameworkBase(const char* service_name, u32 max_sessions,
|
||||||
InvokerFn* handler_invoker)
|
InvokerFn* handler_invoker)
|
||||||
: service_name(service_name), max_sessions(max_sessions), handler_invoker(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;
|
return RESULT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Module interface
|
|
||||||
|
|
||||||
/// Initialize ServiceManager
|
/// Initialize ServiceManager
|
||||||
void Init(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) {
|
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
|
// NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it
|
||||||
|
|
Loading…
Reference in a new issue