mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-28 01:20:58 +01:00
erpt: launch sprofile only on 13.0.0+
This commit is contained in:
parent
2554e0c9f1
commit
91c3ed9704
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user