blob: f0c7d21785058bfb53b453a574b3193cbce54a68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#include <vector>
#include "core/hle/hle.h"
#include "core/hle/hle_syscall.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
namespace HLE {
static std::vector<HLEModule> g_module_db;
void RegisterModule(const char *name, int num_functions, const HLEFunction *func_table) {
HLEModule module = {name, num_functions, func_table};
g_module_db.push_back(module);
}
void RegisterAllModules() {
Register_SysCall();
}
void Init() {
RegisterAllModules();
}
void Shutdown() {
g_module_db.clear();
}
} // namespace
|