first_device = last_device = NULL;
dummy = new DEVICE(this, emu); // must be 1st device
event = new EVENT(this, emu); // must be 2nd device
+#if defined(_USE_QT)
+ dummy->set_device_name(_T("1st Dummy"));
+#endif
#ifdef _USE_I8255
pio = new I8255(this, emu);
#endif
pcm = new PCM1BIT(this, emu);
cpu = new Z80(this, emu);
+#if defined(_USE_QT)
+ cpu->set_device_name(_T("CPU(Z80)"));
+#endif
joystick = new JOYSTICK(this, emu);
memory = new MEMORY(this, emu);
+#if defined(_USE_QT)
+ joystick->set_device_name(_T("JOYSTICK I/F"));
+ memory->set_device_name(_T("MEMORY"));
+#endif
// set contexts
event->set_context_cpu(cpu);