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