--- nono/vm/crtc2.cpp 2026/04/29 17:05:28 1.1.1.12 +++ nono/vm/crtc2.cpp 2026/04/29 17:05:37 1.1.1.14 @@ -9,6 +9,7 @@ // #include "crtc2.h" +#include "lunafb.h" #include "renderer.h" #include "scheduler.h" @@ -27,10 +28,7 @@ CRTC2Device::~CRTC2Device() bool CRTC2Device::Init() { - if (inherited::Init() == false) { - return false; - } - + lunafb = GetLunafbDevice(); renderer = GetRenderer(); vdisp_event.func = ToEventCallback(&CRTC2Device::VDispCallback); @@ -172,8 +170,10 @@ CRTC2Device::VDispCallback(Event& ev) // 今はここで1画面まるごと作成 if (vdisp) { - // Render に作画指示 - renderer->NotifyRender(); + // 更新の必要があれば Render に作画指示。 + if (lunafb->Snap()) { + renderer->NotifyRender(); + } } // 次のタイミングを計算