--- nono/vm/crtc.cpp 2026/04/29 17:05:49 1.1.1.15 +++ nono/vm/crtc.cpp 2026/04/29 17:05:59 1.1.1.16 @@ -36,7 +36,7 @@ CRTCDevice::CRTCDevice() : inherited(OBJ_CRTC) { monitor = gMonitorManager->Regist(ID_MONITOR_CRTC, this); - monitor->func = ToMonitorCallback(&CRTCDevice::MonitorUpdate); + monitor->SetCallback(&CRTCDevice::MonitorScreen); monitor->SetSize(79, 27); } @@ -262,7 +262,7 @@ static const uint16 crtc_supported[] = { }; void -CRTCDevice::MonitorUpdate(Monitor *, TextScreen& screen) +CRTCDevice::MonitorScreen(Monitor *, TextScreen& screen) { int y; uint16 val; @@ -350,7 +350,7 @@ CRTCDevice::MonitorUpdate(Monitor *, Tex // ビデオコントローラもここに並べたほうが読みやすいか。 y++; screen.Puts(0, y++, "