fix changing theme
This commit is contained in:
@ -1085,6 +1085,28 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class Sender final : public ServiceFramework<Sender> {
|
||||||
|
public:
|
||||||
|
explicit Sender(Core::System& system_) : ServiceFramework{system_, "ISender"} {
|
||||||
|
// clang-format off
|
||||||
|
static const FunctionInfo functions[] = {
|
||||||
|
{0, &Sender::Send, "Send"},
|
||||||
|
{1, nullptr, "GetUnreceivedMessageCount"},
|
||||||
|
};
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
|
RegisterHandlers(functions);
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
void Send(HLERequestContext& ctx) {
|
||||||
|
LOG_WARNING(Service_NS, "(STUBBED) called");
|
||||||
|
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(ResultSuccess);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
class ISenderService final : public ServiceFramework<ISenderService> {
|
class ISenderService final : public ServiceFramework<ISenderService> {
|
||||||
public:
|
public:
|
||||||
explicit ISenderService(Core::System& system_) : ServiceFramework{system_, "ovln:snd"} {
|
explicit ISenderService(Core::System& system_) : ServiceFramework{system_, "ovln:snd"} {
|
||||||
@ -1099,10 +1121,11 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void OpenSender(HLERequestContext& ctx) {
|
void OpenSender(HLERequestContext& ctx) {
|
||||||
LOG_ERROR(Service_NS, "(STUBBED) called, check in out");
|
LOG_INFO(Service_NS, "called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
|
||||||
rb.Push(ResultSuccess);
|
rb.Push(ResultSuccess);
|
||||||
|
rb.PushIpcInterface<Sender>(system);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user