OSDN Git Service

[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / msx / joystick.cpp
index 2fa2f72..26cfb9a 100644 (file)
@@ -21,6 +21,8 @@
 #define PSG14_MASK 0x7f
 #endif
 
+namespace MSX {
+
 void JOYSTICK::initialize()
 {
        joy_stat = emu->get_joy_buffer();
@@ -58,3 +60,5 @@ bool JOYSTICK::process_state(FILEIO* state_fio, bool loading)
        state_fio->StateInt32(select);
        return true;
 }
+
+}