--- nono/vm/ssg.cpp 2026/04/29 17:05:28 1.1 +++ nono/vm/ssg.cpp 2026/04/29 17:05:32 1.1.1.2 @@ -9,14 +9,15 @@ // #include "ssg.h" +#include "monitor.h" // コンストラクタ SSGDevice::SSGDevice() : inherited(OBJ_SSG) { - monitor.func = ToMonitorCallback(&SSGDevice::MonitorUpdate); - monitor.SetSize(45, 12); - monitor.Regist(ID_MONITOR_SSG); + monitor = gMonitorManager->Regist(ID_MONITOR_SSG, this); + monitor->func = ToMonitorCallback(&SSGDevice::MonitorUpdate); + monitor->SetSize(45, 12); } // デストラクタ