OSDN Git Service

[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / mycomz80a / mycomz80a.cpp
index 06f3792..d87c2d7 100644 (file)
 #include "keyboard.h"
 #include "./memory.h"
 
+using MYCOMZ80A::DISPLAY;
+using MYCOMZ80A::KEYBOARD;
+using MYCOMZ80A::MEMORY;
+
 // ----------------------------------------------------------------------------
 // initialize
 // ----------------------------------------------------------------------------
@@ -59,7 +63,7 @@ VM::VM(EMU* parent_emu) : VM_TEMPLATE(parent_emu)
        
        display = new DISPLAY(this, emu);
        keyboard = new KEYBOARD(this, emu);
-       memory = new MYCOMZ80_MEMORY(this, emu);
+       memory = new MEMORY(this, emu);
 
        // set contexts
        event->set_context_cpu(cpu);