mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
erpt: launch sprofile only on 13.0.0+
This commit is contained in:
parent
619a7b2074
commit
05b54c4c2a
1 changed files with 7 additions and 4 deletions
|
@ -201,11 +201,14 @@ int main(int argc, char **argv)
|
||||||
/* Start the erpt server. */
|
/* Start the erpt server. */
|
||||||
R_ABORT_UNLESS(erpt::srv::InitializeAndStartService());
|
R_ABORT_UNLESS(erpt::srv::InitializeAndStartService());
|
||||||
|
|
||||||
/* Initialize the sprofile server. */
|
/* Launch sprofile on 13.0.0+ */
|
||||||
sprofile::srv::Initialize();
|
if (hos::GetVersion() >= hos::Version_13_0_0) {
|
||||||
|
/* Initialize the sprofile server. */
|
||||||
|
sprofile::srv::Initialize();
|
||||||
|
|
||||||
/* Start the sprofile ipc server. */
|
/* Start the sprofile ipc server. */
|
||||||
sprofile::srv::StartIpcServer();
|
sprofile::srv::StartIpcServer();
|
||||||
|
}
|
||||||
|
|
||||||
/* Wait forever. */
|
/* Wait forever. */
|
||||||
erpt::srv::Wait();
|
erpt::srv::Wait();
|
||||||
|
|
Loading…
Reference in a new issue