OSDN Git Service

[VM][STATE] Use namespace {VMNAME} to separate per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / mz2800 / sysport.h
index fa5d6c5..214436a 100644 (file)
 #include "../../emu.h"
 #include "../device.h"
 
+namespace MZ2800 {
+
 class SYSPORT : public DEVICE
 {
 private:
        DEVICE *d_pit, *d_sio;
        
 public:
-       SYSPORT(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
+       SYSPORT(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+       {
+               set_device_name(_T("System I/O"));
+       }
        ~SYSPORT() {}
        
        // common functions
@@ -38,5 +43,6 @@ public:
        }
 };
 
+}
 #endif