CFG: Create a new subfolder cfg inside service to handle cfg

Moved most of the shared CFG code there, implemented a few CFG:I functions
This commit is contained in:
Subv 2014-12-21 16:36:18 -05:00
parent 9e45240e23
commit 6115f013a9
11 changed files with 617 additions and 489 deletions

View file

@ -9,6 +9,7 @@
#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"
////////////////////////////////////////////////////////////////////////////////////////////////////
@ -58,6 +59,7 @@ void RegisterAllModules() {
void Init() {
Service::Init();
Service::FS::ArchiveInit();
Service::CFG::CFGInit();
RegisterAllModules();
@ -65,6 +67,7 @@ void Init() {
}
void Shutdown() {
Service::CFG::CFGShutdown();
Service::FS::ArchiveShutdown();
Service::Shutdown();