OSDN Git Service

[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / mz2500 / floppy.h
index 0b682a1..44502df 100644 (file)
@@ -18,6 +18,8 @@
 
 #define SIG_FLOPPY_REVERSE     0
 
+namespace MZ2500 {
+
 class FLOPPY : public DEVICE
 {
 private:
@@ -40,9 +42,7 @@ public:
        void write_io8(uint32_t addr, uint32_t data);
 #ifdef _MZ2500
        void write_signal(int id, uint32_t data, uint32_t mask);
-       void decl_state();
-       void save_state(FILEIO* state_fio);
-       bool load_state(FILEIO* state_fio);
+       bool process_state(FILEIO* state_fio, bool loading);
 #endif
        
        // unique functions
@@ -52,5 +52,6 @@ public:
        }
 };
 
+}
 #endif