OSDN Git Service

[VM] Add PC-8001/mk2/8801/mk2.
[csp-qt/common_source_project-fm7.git] / source / src / vm / am9511.h
index 202b44d..5a2428f 100644 (file)
@@ -48,7 +48,7 @@ private:
        void apu_write_command ( uint8_t cmd );
        
 public:
-       AM9511(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+       AM9511(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
        {
                _APU_CLOCK = 1.0e6;
                set_device_name(_T("AM9511"));
@@ -61,9 +61,7 @@ public:
        void write_io8(uint32_t addr, uint32_t data);
        uint32_t read_io8(uint32_t addr);
        void event_callback(int event_id, int err);
-       void decl_state();
-       void save_state(FILEIO* state_fio);
-       bool load_state(FILEIO* state_fio);
+       bool process_state(FILEIO* state_fio, bool loading);
 };
 
 #endif