2015-03-27 23:51:54 +00:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2016-09-21 06:52:38 +00:00
|
|
|
#include "core/hle/service/ir/ir.h"
|
2015-03-27 23:51:54 +00:00
|
|
|
#include "core/hle/service/ir/ir_rst.h"
|
|
|
|
#include "core/hle/service/ir/ir_u.h"
|
|
|
|
#include "core/hle/service/ir/ir_user.h"
|
2016-09-18 00:38:01 +00:00
|
|
|
#include "core/hle/service/service.h"
|
2015-03-27 23:51:54 +00:00
|
|
|
|
|
|
|
namespace Service {
|
|
|
|
namespace IR {
|
|
|
|
|
|
|
|
void Init() {
|
|
|
|
AddService(new IR_RST_Interface);
|
|
|
|
AddService(new IR_U_Interface);
|
|
|
|
AddService(new IR_User_Interface);
|
|
|
|
|
2017-02-25 19:09:37 +00:00
|
|
|
InitUser();
|
|
|
|
InitRST();
|
2015-03-27 23:51:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Shutdown() {
|
2017-02-25 19:09:37 +00:00
|
|
|
ShutdownUser();
|
|
|
|
ShutdownRST();
|
2015-03-27 23:51:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace IR
|
|
|
|
|
|
|
|
} // namespace Service
|