--- nono/vm/sprite.h 2026/04/29 17:04:56 1.1.1.6 +++ nono/vm/sprite.h 2026/04/29 17:05:17 1.1.1.8 @@ -4,6 +4,10 @@ // Licensed under nono-license.txt // +// +// スプライトコントローラ +// + #pragma once #include "device.h" @@ -11,7 +15,7 @@ class SpriteDevice : public IODevice { using inherited = IODevice; - private: + static const int baseaddr = 0xeb0000; struct sprite_scroll { @@ -50,5 +54,3 @@ class SpriteDevice : public IODevice struct sprite_ctrl reg {}; std::unique_ptr mem {}; }; - -extern std::unique_ptr gSprite;