--- nono/vm/nmi.h 2026/04/29 17:05:25 1.1.1.3 +++ nono/vm/nmi.h 2026/04/29 17:06:00 1.1.1.5 @@ -12,7 +12,6 @@ #include "device.h" #include "message.h" -#include "event.h" class InterruptDevice; @@ -36,13 +35,13 @@ class NMIDevice : public Device private: void AssertMessage(MessageID, uint32); - void NegateCallback(Event& ev); + void NegateCallback(Event *); InterruptDevice *interrupt {}; - Event event { this }; + Event *event {}; }; -static inline NMIDevice *GetNMIDevice() { +inline NMIDevice *GetNMIDevice() { return Object::GetObject(OBJ_NMI); }