summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-02-13 16:40:07 +0100
committerLioncash <mathew1800@gmail.com>2015-02-13 16:48:32 +0100
commit0c6434c379bd13553e2504d269965c764e2a0441 (patch)
tree9fa96cdc2bc180ac4c5a2c33158ae7cc60f2a308 /src/core/hle/hle.cpp
parentMerge pull request #571 from lioncash/cleanup (diff)
downloadyuzu-0c6434c379bd13553e2504d269965c764e2a0441.tar
yuzu-0c6434c379bd13553e2504d269965c764e2a0441.tar.gz
yuzu-0c6434c379bd13553e2504d269965c764e2a0441.tar.bz2
yuzu-0c6434c379bd13553e2504d269965c764e2a0441.tar.lz
yuzu-0c6434c379bd13553e2504d269965c764e2a0441.tar.xz
yuzu-0c6434c379bd13553e2504d269965c764e2a0441.tar.zst
yuzu-0c6434c379bd13553e2504d269965c764e2a0441.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/hle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/hle.cpp b/src/core/hle/hle.cpp
index 97d73781f..529133ca7 100644
--- a/src/core/hle/hle.cpp
+++ b/src/core/hle/hle.cpp
@@ -22,7 +22,7 @@ static std::vector<ModuleDef> g_module_db;
bool g_reschedule = false; ///< If true, immediately reschedules the CPU to a new thread
-const FunctionDef* GetSVCInfo(u32 opcode) {
+static const FunctionDef* GetSVCInfo(u32 opcode) {
u32 func_num = opcode & 0xFFFFFF; // 8 bits
if (func_num > 0xFF) {
LOG_ERROR(Kernel_SVC,"unknown svc=0x%02X", func_num);
@@ -63,7 +63,7 @@ void RegisterModule(std::string name, int num_functions, const FunctionDef* func
g_module_db.push_back(module);
}
-void RegisterAllModules() {
+static void RegisterAllModules() {
SVC::Register();
}