--- nono/vm/bt45x.h 2026/04/29 17:05:33 1.1.1.4 +++ nono/vm/bt45x.h 2026/04/29 17:05:50 1.1.1.5 @@ -14,6 +14,7 @@ #include "color.h" class LunafbDevice; +class UIMessage; class BT45xDevice : public IODevice { @@ -32,11 +33,11 @@ class BT45xDevice : public IODevice // プレーン数を取得 uint GetPlaneCount() const { return nplane; } - // ホストパレットのアドレスを取得 + // ホストパレットを取得。(レンダラとかからの参照用) const std::vector& GetHostPalette() const { return hostcolor; } - // 生パレットを uint32 形式にしたものを返す (GUI 用) - const std::vector GetIntPalette() const; + // ゲストパレットを取得。(GUI 情報表示用) + const std::vector& GetGuestPalette() const { return color; } // BusIO インタフェース // (内蔵 ROM からのアクセス用に特別に public にしてある) @@ -121,6 +122,7 @@ class BT45xDevice : public IODevice static const char rgbstr[3]; LunafbDevice *lunafb {}; + UIMessage *uimessage {}; }; // Bt454