From 83a8975cb89b908b4737d647a210c19775f25ed7 Mon Sep 17 00:00:00 2001 From: Subv Date: Thu, 26 Feb 2015 21:13:08 -0500 Subject: Services: Moved the PTM and APT services to their own folder This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands. --- src/core/hle/service/service.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/hle/service/service.h') diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index 3370f9f9..bfe16eba 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h @@ -120,4 +120,7 @@ extern std::unordered_map> g_kernel_na /// Map of services registered with the "srv:" service, retrieved using GetServiceHandle. extern std::unordered_map> g_srv_services; +/// Adds a service to the services table +void AddService(Interface* interface_); + } // namespace -- cgit v1.2.3