2026-09-25 15:57:13

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-09-25 15:57:13 +00:00
committed by crueter
parent 740db2fd2a
commit 0f6a782cfa
45 changed files with 770 additions and 1005 deletions
+8 -9
View File
@@ -38,8 +38,9 @@ public:
, context{process_->GetMemory()}
{
// clang-format off
static const FunctionInfo functions[] = {
FunctionInfoBase const* FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key,
FunctionInfo{0, C<&IJitEnvironment::GenerateCode>, "GenerateCode"},
FunctionInfo{1, C<&IJitEnvironment::Control>, "Control"},
FunctionInfo{1000, C<&IJitEnvironment::LoadPlugin>, "LoadPlugin"},
@@ -258,14 +259,12 @@ private:
class JITU final : public ServiceFramework<JITU> {
public:
explicit JITU(Core::System& system_) : ServiceFramework{system_, "jit:u"} {
// clang-format off
static const FunctionInfo functions[] = {
FunctionInfo{0, C<&JITU::CreateJitEnvironment>, "CreateJitEnvironment"}
};
// clang-format on
explicit JITU(Core::System& system_) : ServiceFramework{system_, "jit:u"} {}
RegisterHandlers(functions);
FunctionInfoBase const* FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key,
FunctionInfo{0, C<&JITU::CreateJitEnvironment>, "CreateJitEnvironment"}
);
}
private: