2015-03-28 00:51:54 +01:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2016-09-21 08:52:38 +02:00
|
|
|
#include "core/hle/service/ir/ir.h"
|
2015-03-28 00:51:54 +01: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 02:38:01 +02:00
|
|
|
#include "core/hle/service/service.h"
|
2015-03-28 00:51:54 +01: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 20:09:37 +01:00
|
|
|
InitUser();
|
|
|
|
InitRST();
|
2015-03-28 00:51:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void Shutdown() {
|
2017-02-25 20:09:37 +01:00
|
|
|
ShutdownUser();
|
|
|
|
ShutdownRST();
|
2015-03-28 00:51:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace IR
|
|
|
|
|
|
|
|
} // namespace Service
|