diff --git a/stratosphere/loader/source/ldr_main.cpp b/stratosphere/loader/source/ldr_main.cpp index b82521435..f3ab9b0bc 100644 --- a/stratosphere/loader/source/ldr_main.cpp +++ b/stratosphere/loader/source/ldr_main.cpp @@ -9,6 +9,7 @@ #include "ldr_process_manager.hpp" #include "ldr_debug_monitor.hpp" #include "ldr_shell.hpp" +#include "ldr_ro_service.hpp" extern "C" { extern u32 __start__; @@ -83,6 +84,10 @@ int main(int argc, char **argv) server_manager->add_waitable(new ServiceServer("dbg:pm", 1)); server_manager->add_waitable(new ServiceServer("dbg:shel", 3)); server_manager->add_waitable(new ServiceServer("dbg:dmnt", 2)); + if (!kernelAbove300()) { + /* On 1.0.0-2.3.0, Loader services ldr:ro instead of ro. */ + server_manager->add_waitable(new ServiceServer("dbg:ro", 0x20)); + } /* Loop forever, servicing our services. */ server_manager->process();