--- nono/vm/newsctlr.h 2026/04/29 17:05:18 1.1.1.1 +++ nono/vm/newsctlr.h 2026/04/29 17:05:21 1.1.1.2 @@ -37,7 +37,7 @@ class NewsCtlrDevice : public IODevice uint64 Write8(uint32 addr, uint32 data) override; uint64 Peek8(uint32 addr) override; - int GetLED() const { return led; } + uint GetLED() const { return led; } private: uint8 GetIDROM(uint32 addr) const; @@ -53,7 +53,7 @@ class NewsCtlrDevice : public IODevice // 256 x 4bit ROM (ここではデータをバイト単位で保持する) std::array oidrom {}; - int led {}; + uint led {}; // タイマー bool timer_intr {}; bool timer_enable {};