OSDN Git Service

[VM][WIP] Apply some devices merging upstream 2018-10-05.This still not build.WIP.
[csp-qt/common_source_project-fm7.git] / source / src / vm / t3444a.h
index 3f66c27..f0d3a0f 100644 (file)
@@ -114,7 +114,7 @@ private:
        // rqm
        void set_rqm(bool val);
 
-       void decl_state_fdc(int ch);
+       bool process_state_fdc(int ch, FILEIO* state_fio, bool loading);
 public:
        T3444A(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
        {
@@ -143,9 +143,7 @@ public:
        uint32_t read_signal(int ch);
        void event_callback(int event_id, int err);
        void update_config();
-       void decl_state();
-       void save_state(FILEIO* state_fio);
-       bool load_state(FILEIO* state_fio);
+       bool process_state(FILEIO* state_fio, bool loading);
        
        // unique functions
        void set_context_rqm(DEVICE* device, int id, uint32_t mask)