mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-06 07:12:56 +12:00
Add system call intercepts to Lua
This commit is contained in:
parent
620e3699ec
commit
228068901b
7 changed files with 147 additions and 34 deletions
|
@ -47,6 +47,8 @@ class LuaManager {
|
|||
signalEventInternal(e);
|
||||
}
|
||||
}
|
||||
|
||||
bool signalInterceptedService(const std::string& service, u32 function, u32 messagePointer);
|
||||
};
|
||||
|
||||
#else // Lua not enabled, Lua manager does nothing
|
||||
|
@ -60,5 +62,5 @@ class LuaManager {
|
|||
void loadString(const std::string& code) {}
|
||||
void reset() {}
|
||||
void signalEvent(LuaEvent e) {}
|
||||
};
|
||||
bool signalInterceptedService(const std::string& service, u32 function, u32 messagePointer) { return false; }
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue