|
ReXGlue SDK
|
#include <rex/guest.h>
Public Member Functions | |
| virtual Result< void > | RaiseGraphicsInterrupt (u32 source, u32 cpu)=0 |
| virtual Result< ScopeGuard > | StartHostThread (std::string_view name, MoveOnlyFunction< void(std::stop_token)> fn)=0 |
Raises graphics interrupts into the title from host threads.
|
nodiscardpure virtual |
Calls the title's interrupt callback on the calling thread, or does nothing until it sets one.
| source | The interrupt source, such as vblank or a command processor event. |
| cpu | The target guest CPU. |
|
nodiscardpure virtual |
Starts a host thread that may call into the title, such as RaiseGraphicsInterrupt.
| fn | The thread body, which returns when the stop token is requested. |