mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 10:00:16 +02:00
[CPUBackend] Add custom dispatch virtual functions to be implemented
This commit is contained in:
1 parent
0d20ec0f2c
commit
925ce8b35e
1 file changed
+5
@@ -11,6 +11,7 @@ namespace IR {
|
||||
|
||||
namespace Core {
|
||||
struct DebugData;
|
||||
struct ThreadState;
|
||||
}
|
||||
|
||||
namespace CPU {
|
||||
@@ -68,6 +69,10 @@ class LLVMCore;
|
||||
* @return true if it needs the IR
|
||||
*/
|
||||
virtual bool NeedsOpDispatch() = 0;
|
||||
|
||||
virtual bool HasCustomDispatch() const { return false; }
|
||||
|
||||
virtual void ExecuteCustomDispatch(FEXCore::Core::ThreadState *Thread) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user