added function stubs for EatCycles and ReSchedule
This commit is contained in:
parent
0de78eb3c4
commit
4d7f3c74fd
2 changed files with 15 additions and 0 deletions
|
@ -37,6 +37,17 @@ void CallSyscall(u32 opcode) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void EatCycles(u32 cycles) {
|
||||||
|
// TODO: ImplementMe
|
||||||
|
}
|
||||||
|
|
||||||
|
void ReSchedule(const char *reason) {
|
||||||
|
#ifdef _DEBUG
|
||||||
|
_dbg_assert_msg_(HLE, reason != 0 && strlen(reason) < 256, "ReSchedule: Invalid or too long reason.");
|
||||||
|
#endif
|
||||||
|
// TODO: ImplementMe
|
||||||
|
}
|
||||||
|
|
||||||
void RegisterModule(std::string name, int num_functions, const FunctionDef* func_table) {
|
void RegisterModule(std::string name, int num_functions, const FunctionDef* func_table) {
|
||||||
ModuleDef module = {name, num_functions, func_table};
|
ModuleDef module = {name, num_functions, func_table};
|
||||||
g_module_db.push_back(module);
|
g_module_db.push_back(module);
|
||||||
|
|
|
@ -36,6 +36,10 @@ void RegisterModule(std::string name, int num_functions, const FunctionDef *func
|
||||||
|
|
||||||
void CallSyscall(u32 opcode);
|
void CallSyscall(u32 opcode);
|
||||||
|
|
||||||
|
void EatCycles(u32 cycles);
|
||||||
|
|
||||||
|
void ReSchedule(const char *reason);
|
||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
void Shutdown();
|
void Shutdown();
|
||||||
|
|
Loading…
Reference in a new issue