OSDN Git Service

[VM] TRY:Use namespace {VMNAME} to separate around VMs. This feature still apply...
[csp-qt/common_source_project-fm7.git] / source / src / vm / bmjr / memory.h
index 9c0a226..fe0f0d2 100644 (file)
@@ -16,7 +16,8 @@
 
 #define SIG_MEMORY_DATAREC_EAR 0
 
-class BMJR_MEMORY : public DEVICE
+namespace BMJR {
+class MEMORY : public DEVICE
 {
 private:
        // contexts
@@ -58,12 +59,12 @@ private:
        int volume_l, volume_r;
        
 public:
-       BMJR_MEMORY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+       MEMORY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
        {
                volume_l = volume_r = 1024;
                set_device_name(_T("Memory Bus"));
        }
-       ~BMJR_MEMORY() {}
+       ~MEMORY() {}
        
        // common functions
        void initialize();
@@ -92,6 +93,6 @@ public:
        void key_down(int code);
        void draw_screen();
 };
-
+}
 #endif