From ecff2351a180e76967de7322ceb2d8e9064ae7a6 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Wed, 6 May 2015 00:04:25 -0300 Subject: HLE: Clean up SVC dispatch mechanism --- src/core/hle/hle.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'src/core/hle/hle.h') diff --git a/src/core/hle/hle.h b/src/core/hle/hle.h index 3f6f9a4b5..23de1aab7 100644 --- a/src/core/hle/hle.h +++ b/src/core/hle/hle.h @@ -4,40 +4,13 @@ #pragma once -#include - -#include "common/common_types.h" -#include "core/core.h" - -//////////////////////////////////////////////////////////////////////////////////////////////////// - namespace HLE { extern bool g_reschedule; ///< If true, immediately reschedules the CPU to a new thread -typedef u32 Addr; -typedef void (*Func)(); - -struct FunctionDef { - u32 id; - Func func; - std::string name; -}; - -struct ModuleDef { - std::string name; - int num_funcs; - const FunctionDef* func_table; -}; - -void RegisterModule(std::string name, int num_functions, const FunctionDef *func_table); - -void CallSVC(u32 opcode); - void Reschedule(const char *reason); void Init(); - void Shutdown(); } // namespace -- cgit v1.2.3