--- nono/vm/tvram.h 2026/04/29 17:04:39 1.1.1.4 +++ nono/vm/tvram.h 2026/04/29 17:04:56 1.1.1.7 @@ -9,8 +9,7 @@ #include "device.h" #include -class TVRAMDevice - : public IODevice +class TVRAMDevice : public IODevice { using inherited = IODevice; private: @@ -25,7 +24,7 @@ class TVRAMDevice public: TVRAMDevice(); - ~TVRAMDevice() override; + virtual ~TVRAMDevice() override; void ResetHard() override; @@ -57,7 +56,7 @@ class TVRAMDevice // RGB24 形式(3バイト)を4バイトあるいは SSE なら 16バイト単位で // 書き込むための1ライン分の中間バッファ。 - ALIGNAS_IF_X86(16) uint32 rb[768]; + ALIGNAS_IF_X86(16) uint32 rb[768] {}; }; extern std::unique_ptr gTVRAM;