--- nono/vm/planevram.h 2026/04/29 17:05:25 1.1.1.3 +++ nono/vm/planevram.h 2026/04/29 17:05:29 1.1.1.4 @@ -29,10 +29,10 @@ class PlaneVRAMDevice : public IODevice void InitDeptable(); // プレーン数を取得 - int GetPlaneCount() const { return nplane; } + uint GetPlaneCount() const { return nplane; } // 更新情報を取得 - ModifyInfo GetModify() const; + bool GetModify(ModifyInfo *) const; // 更新フラグをクリア void ClearDirty(); @@ -66,7 +66,7 @@ class PlaneVRAMDevice : public IODevice std::unique_ptr mem {}; // プレーン数 (TVRAM なら 4 固定、LUNA は設定による) - int nplane {}; + uint nplane {}; // テキスト画面の合成ビットマップ BitmapI8 composite {}; @@ -79,20 +79,11 @@ class PlaneVRAMDevice : public IODevice std::unique_ptr deptable {}; // ホストパレット - const ColorXBGR *palette {}; + const Color *palette {}; // スクロール int xscroll {}; int yscroll {}; - - private: - void RenderI8toRGBX_gen(BitmapRGBX& dst, const BitmapI8& view, - const std::vector& view_mod); -#if defined(HAVE_AVX2) - void RenderI8toRGBX_avx2(BitmapRGBX& dst, const BitmapI8& view, - const std::vector& view_mod); - bool enable_avx2 {}; -#endif }; static inline PlaneVRAMDevice *GetPlaneVRAMDevice() {