ldr: Add ro:1 Service

Identical copy of ldr:ro on 7.0.0+
This commit is contained in:
Zach Hilman
2019-09-21 22:12:18 -04:00
parent d790af8b2b
commit c824b439b3

View File

@@ -167,7 +167,7 @@ private:
IPC::ResponseBuilder rb{ctx, 3}; IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
rb.Push(write_size); rb.Push(static_cast<u32>(write_size));
} }
const std::vector<Kernel::SharedPtr<Kernel::Process>>& process_list; const std::vector<Kernel::SharedPtr<Kernel::Process>>& process_list;
@@ -292,7 +292,7 @@ public:
class RelocatableObject final : public ServiceFramework<RelocatableObject> { class RelocatableObject final : public ServiceFramework<RelocatableObject> {
public: public:
explicit RelocatableObject() : ServiceFramework{"ldr:ro"} { explicit RelocatableObject(const char* name) : ServiceFramework{name} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &RelocatableObject::LoadNro, "LoadNro"}, {0, &RelocatableObject::LoadNro, "LoadNro"},