diff --git a/stratosphere/erpt/source/erpt_main.cpp b/stratosphere/erpt/source/erpt_main.cpp index cd7923474..e7d0eb9cd 100644 --- a/stratosphere/erpt/source/erpt_main.cpp +++ b/stratosphere/erpt/source/erpt_main.cpp @@ -201,11 +201,14 @@ int main(int argc, char **argv) /* Start the erpt server. */ R_ABORT_UNLESS(erpt::srv::InitializeAndStartService()); - /* Initialize the sprofile server. */ - sprofile::srv::Initialize(); + /* Launch sprofile on 13.0.0+ */ + if (hos::GetVersion() >= hos::Version_13_0_0) { + /* Initialize the sprofile server. */ + sprofile::srv::Initialize(); - /* Start the sprofile ipc server. */ - sprofile::srv::StartIpcServer(); + /* Start the sprofile ipc server. */ + sprofile::srv::StartIpcServer(); + } /* Wait forever. */ erpt::srv::Wait();