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 / ptf20.h
index 29a318d..db44fc5 100644 (file)
@@ -47,9 +47,7 @@ public:
        void reset();
        void write_signal(int id, uint32_t data, uint32_t mask);
        uint32_t read_signal(int ch);
-       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_sio(DEVICE* device, int id)