- DEVICE(VM* parent_vm, EMU* parent_emu);
- //ToDo: Will implement real destructor per real classes and below destructor decl. with "virtual".
- // This makes warning:
- //"deleting object of polymorphic class type 'DEVICE' which has non-virtual
- // destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]".
- //~DEVICE(void);
- virtual ~DEVICE() {}
-
- virtual void initialize() { /* osd = emu->get_osd(); */}
- virtual void release() {}
+ DEVICE(VM_TEMPLATE* parent_vm, EMU* parent_emu);
+ ~DEVICE() {}
+
+ virtual void initialize() { }
+ virtual void release();