OSDN Git Service

[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / mz2500 / mz1r12.h
index 98bd232..d29429c 100644 (file)
@@ -15,6 +15,8 @@
 #include "../../emu.h"
 #include "../device.h"
 
+namespace MZ2500 {
+
 class MZ1R12 : public DEVICE
 {
 private:
@@ -35,10 +37,9 @@ public:
        void release();
        void write_io8(uint32_t addr, uint32_t data);
        uint32_t read_io8(uint32_t addr);
-       void decl_state();
-       void save_state(FILEIO* state_fio);
-       bool load_state(FILEIO* state_fio);
+       bool process_state(FILEIO* state_fio, bool loading);
 };
 
+}
 #endif