--- nono/vm/pluto.h 2026/04/29 17:04:36 1.1.1.3 +++ nono/vm/pluto.h 2026/04/29 17:04:45 1.1.1.5 @@ -15,7 +15,9 @@ class PlutoDevice using inherited = IODevice; public: PlutoDevice(); - ~PlutoDevice() override; + virtual ~PlutoDevice() override; + + void ResetHard() override; uint64 Read8(uint32 addr) override; uint64 Read16(uint32 addr) override; @@ -35,12 +37,12 @@ class PlutoDevice void write_8_benchmark(uint32 addr, uint32 data); void benchmark_start(uint32 data); void benchmark_end(); - int m_count = 0; - int m_test_num = 0; - const char *m_test_name = NULL; - int m_inst_len = 0; - int m_inst_cycle = 0; - int m_start_addr = 0; + int m_count {}; + int m_test_num {}; + const char *m_test_name {}; + int m_inst_len {}; + int m_inst_cycle {}; + int m_start_addr {}; timeval m_start {}; timeval m_total {}; };