--- nono/vm/sram.h 2026/04/29 17:04:28 1.1 +++ nono/vm/sram.h 2026/04/29 17:04:32 1.1.1.2 @@ -29,6 +29,9 @@ class SRAMDevice void write_enable(bool value); private: + // アドレスデコーダ + uint64 Decoder(uint32 addr) const; + std::string filename; int fd = 0; @@ -41,4 +44,4 @@ class SRAMDevice bool writeable = false; }; -extern SRAMDevice *gSRAM; +extern std::unique_ptr gSRAM;