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/hle.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/core/hle/hle.cpp') diff --git a/src/core/hle/hle.cpp b/src/core/hle/hle.cpp index b0066e15e..c6764a529 100644 --- a/src/core/hle/hle.cpp +++ b/src/core/hle/hle.cpp @@ -11,9 +11,6 @@ #include "core/hle/shared_page.h" #include "core/hle/kernel/thread.h" #include "core/hle/service/service.h" -#include "core/hle/service/fs/archive.h" -#include "core/hle/service/cfg/cfg.h" -#include "core/hle/service/hid/hid.h" //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -70,9 +67,6 @@ static void RegisterAllModules() { void Init() { Service::Init(); - Service::FS::ArchiveInit(); - Service::CFG::CFGInit(); - Service::HID::HIDInit(); RegisterAllModules(); @@ -83,9 +77,6 @@ void Init() { } void Shutdown() { - Service::HID::HIDShutdown(); - Service::CFG::CFGShutdown(); - Service::FS::ArchiveShutdown(); Service::Shutdown(); g_module_db.clear(); -- cgit v1.2.3