2026-09-26 11:36:51

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-09-26 11:36:51 +00:00
committed by crueter
parent b0b8050eda
commit 0150bfc66d
299 changed files with 501 additions and 496 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ public:
explicit IRegistrar(Core::System& system_, IssuerFn&& issuer)
: ServiceFramework{system_, "IRegistrar"}, issue_process_id{std::move(issuer)} {}
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
+2 -2
View File
@@ -24,7 +24,7 @@ private:
void GetApplicationControlProperty(HLERequestContext& ctx);
void GetApplicationControlPropertyWithApplicationId(HLERequestContext& ctx);
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
static constexpr auto functions = CreateStaticMap(
@@ -51,7 +51,7 @@ private:
void AcquireRegistrar(HLERequestContext& ctx);
void UnregisterApplicationInstance(HLERequestContext& ctx);
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
static constexpr auto functions = CreateStaticMap(
+3 -3
View File
@@ -20,7 +20,7 @@ public:
~BGTC_T() override;
void OpenTaskService(HLERequestContext& ctx);
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
static constexpr auto functions = CreateStaticMap(
@@ -33,7 +33,7 @@ public:
explicit ITaskService(Core::System& system_);
~ITaskService() override;
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
static constexpr auto functions = CreateStaticMap(
@@ -61,7 +61,7 @@ public:
explicit BGTC_SC(Core::System& system_);
~BGTC_SC() override;
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
static constexpr auto functions = CreateStaticMap(
+1 -1
View File
@@ -14,7 +14,7 @@ class IContextRegistrar : public ServiceFramework<IContextRegistrar> {
public:
IContextRegistrar(Core::System& system_) : ServiceFramework{system_, "IContextRegistrar"} {}
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
+3 -3
View File
@@ -19,7 +19,7 @@ public:
explicit ECTX_W(Core::System& system_);
~ECTX_W() override;
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
static constexpr auto functions = CreateStaticMap(
@@ -34,7 +34,7 @@ public:
explicit ECTX_R(Core::System& system_);
~ECTX_R() override;
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
static constexpr auto functions = CreateStaticMap(
@@ -52,7 +52,7 @@ public:
private:
void CreateContextRegistrar(HLERequestContext& ctx);
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
static constexpr auto functions = CreateStaticMap(
+3 -3
View File
@@ -20,7 +20,7 @@ namespace {
constexpr inline std::size_t MaxAlarms = 8;
}
ServiceFrameworkBase::FunctionInfoBase const* INotificationServicesForApplication::FindRequest(u32 key) {
std::optional<ServiceFrameworkBase::FunctionInfoBase> INotificationServicesForApplication::FindRequest(u32 key) {
static constexpr auto functions = CreateStaticMap(
FunctionInfo{500, D<&INotificationServicesForApplication::RegisterAlarmSetting>, "RegisterAlarmSetting"},
FunctionInfo{510, D<&INotificationServicesForApplication::UpdateAlarmSetting>, "UpdateAlarmSetting"},
@@ -32,7 +32,7 @@ ServiceFrameworkBase::FunctionInfoBase const* INotificationServicesForApplicatio
return HandlerTableGenerateWithFind(key, functions);
}
ServiceFrameworkBase::FunctionInfoBase const* INotificationServices::FindRequest(u32 key) {
std::optional<ServiceFrameworkBase::FunctionInfoBase> INotificationServices::FindRequest(u32 key) {
static constexpr auto functions = CreateStaticMap(
FunctionInfo{500, D<&INotificationServices::RegisterAlarmSetting>, "RegisterAlarmSetting"},
FunctionInfo{510, D<&INotificationServices::UpdateAlarmSetting>, "UpdateAlarmSetting"},
@@ -207,7 +207,7 @@ public:
notification_event = service_context.CreateEvent("INotificationSystemEventAccessor:NotificationEvent");
}
FunctionInfoBase const* FindRequest(u32 key) override {
std::optional<FunctionInfoBase> FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key, functions);
}
+2 -2
View File
@@ -101,7 +101,7 @@ private:
Result DeleteAlarmSetting(AlarmSettingId alarm_setting_id);
Result Initialize(ClientAppletResourceUserId aruid);
FunctionInfoBase const* FindRequest(u32 key) override;
std::optional<FunctionInfoBase> FindRequest(u32 key) override;
NotificationServiceImpl impl;
};
@@ -131,7 +131,7 @@ private:
Out<NotificationPresentationSetting> out_notification_presentation_setting,
NotificationChannel notification_channel);
FunctionInfoBase const* FindRequest(u32 key) override;
std::optional<FunctionInfoBase> FindRequest(u32 key) override;
NotificationServiceImpl impl;
};
} // namespace Service::Glue
+1 -1
View File
@@ -24,7 +24,7 @@
namespace Service::Glue::Time {
ServiceFrameworkBase::FunctionInfoBase const* StaticService::FindRequest(u32 key) {
std::optional<ServiceFrameworkBase::FunctionInfoBase> StaticService::FindRequest(u32 key) {
static constexpr auto functions = CreateStaticMap(
FunctionInfo{0, D<&StaticService::GetStandardUserSystemClock>, "GetStandardUserSystemClock"},
FunctionInfo{1, D<&StaticService::GetStandardNetworkSystemClock>, "GetStandardNetworkSystemClock"},
+1 -1
View File
@@ -72,7 +72,7 @@ public:
Result CalculateSpanBetween(Out<s64> out_time, InClockSnapshot a, InClockSnapshot b);
private:
FunctionInfoBase const* FindRequest(u32 key) override;
std::optional<FunctionInfoBase> FindRequest(u32 key) override;
std::shared_ptr<Service::Set::ISystemSettingsServer> m_set_sys;
std::shared_ptr<Service::PSC::Time::ServiceManager> m_time_m;
+1 -1
View File
@@ -19,7 +19,7 @@
namespace Service::Glue::Time {
ServiceFrameworkBase::FunctionInfoBase const* TimeZoneService::FindRequest(u32 key) {
std::optional<ServiceFrameworkBase::FunctionInfoBase> TimeZoneService::FindRequest(u32 key) {
static constexpr auto functions = CreateStaticMap(
FunctionInfo{0, D<&TimeZoneService::GetDeviceLocationName>, "GetDeviceLocationName"},
FunctionInfo{1, D<&TimeZoneService::SetDeviceLocationName>, "SetDeviceLocationName"},
+1 -1
View File
@@ -80,7 +80,7 @@ public:
const Service::PSC::Time::CalendarTime& calendar_time);
private:
FunctionInfoBase const* FindRequest(u32 key) override;
std::optional<FunctionInfoBase> FindRequest(u32 key) override;
std::shared_ptr<Service::Set::ISystemSettingsServer> m_set_sys;
bool m_can_write_timezone_device_location;
FileTimestampWorker& m_file_timestamp_worker;