[Lua] Add event handles
This commit is contained in:
@@ -414,6 +414,7 @@ void Emulator::runFrame() {
|
||||
if (running) {
|
||||
cpu.runFrame(); // Run 1 frame of instructions
|
||||
gpu.display(); // Display graphics
|
||||
lua.signalEvent(LuaEvent::Frame);
|
||||
|
||||
// Send VBlank interrupts
|
||||
ServiceManager& srv = kernel.getServiceManager();
|
||||
|
||||
Reference in New Issue
Block a user