--- nono/vm/rp5c15.cpp 2026/04/29 17:05:33 1.1.1.16 +++ nono/vm/rp5c15.cpp 2026/04/29 17:06:00 1.1.1.18 @@ -11,6 +11,7 @@ // アラームは未実装 #include "rp5c15.h" +#include "event.h" #include "mfp.h" #include "monitor.h" #include "power.h" @@ -25,7 +26,7 @@ RP5C15Device::RP5C15Device() use_localtime = true; monitor = gMonitorManager->Regist(ID_MONITOR_RTC, this); - monitor->func = ToMonitorCallback(&RP5C15Device::MonitorUpdate); + monitor->SetCallback(&RP5C15Device::MonitorScreen); monitor->SetSize(38, 22); } @@ -266,7 +267,7 @@ RP5C15Device::PokePort(uint32 offset, ui } void -RP5C15Device::MonitorUpdate(Monitor *, TextScreen& screen) +RP5C15Device::MonitorScreen(Monitor *, TextScreen& screen) { int x = 18; int y = 0;