OSDN Git Service

[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / jr800 / jr800.cpp
index 4599548..0fa2ad9 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 
 #include "./io.h"
+using JR800::IO;
 
 // ----------------------------------------------------------------------------
 // initialize
@@ -49,7 +50,7 @@ VM::VM(EMU* parent_emu) : VM_TEMPLATE(parent_emu)
        memory = new MEMORY(this, emu);
        pcm = new PCM1BIT(this, emu);
        
-       io = new JR800_IO(this, emu);
+       io = new IO(this, emu);
        
        // set contexts
        event->set_context_cpu(cpu);