diff options
author | 2021-09-07 23:15:50 +1000 | |
---|---|---|
committer | 2021-09-07 23:15:50 +1000 | |
commit | 142f96023889fc2c09a01318947f81cdb0e0f424 (patch) | |
tree | 39135ee898b7213937dbc779528f3550982b6a5a /src/devices/bus/interpro | |
parent | d6873bfaccee1b1c5bb8e6ec9127c4ed860d8564 (diff) |
-Reworked device type definition macros a little and added more Doxygen.
* Reworked device type definition macros to eliminate one level of
indirection when using device types by name.
* Fixed a potential initialisation order issue that could affect device
parent ROMs.
* Eliminated the need for DEFINE_DEVICE_TYPE_NS - just use
DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_PRIVATE with fully-qualified
names.
* Changed device type aliases to static auto references in the headers.
* Added Doxygen comments for system/device definition macros and system
flags.
-Added ROM parents for m68705u3 and a2diskiing.
Diffstat (limited to 'src/devices/bus/interpro')
-rw-r--r-- | src/devices/bus/interpro/keyboard/hle.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/interpro/keyboard/lle.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/interpro/keyboard/hle.cpp b/src/devices/bus/interpro/keyboard/hle.cpp index 66fa8e44a30..89217cc10ad 100644 --- a/src/devices/bus/interpro/keyboard/hle.cpp +++ b/src/devices/bus/interpro/keyboard/hle.cpp @@ -120,7 +120,7 @@ #define VERBOSE 0 #include "logmacro.h" -DEFINE_DEVICE_TYPE_NS(INTERPRO_HLE_EN_US_KEYBOARD, bus::interpro::keyboard, hle_en_us_device, "kbd_hle_en_us", "InterPro Keyboard (HLE, US English)") +DEFINE_DEVICE_TYPE(INTERPRO_HLE_EN_US_KEYBOARD, bus::interpro::keyboard::hle_en_us_device, "kbd_hle_en_us", "InterPro Keyboard (HLE, US English)") namespace bus::interpro::keyboard { diff --git a/src/devices/bus/interpro/keyboard/lle.cpp b/src/devices/bus/interpro/keyboard/lle.cpp index 7151f1e0fc0..1556a3f4779 100644 --- a/src/devices/bus/interpro/keyboard/lle.cpp +++ b/src/devices/bus/interpro/keyboard/lle.cpp @@ -155,7 +155,7 @@ #define VERBOSE (0) #include "logmacro.h" -DEFINE_DEVICE_TYPE_NS(INTERPRO_LLE_EN_US_KEYBOARD, bus::interpro::keyboard, lle_en_us_device, "kbd_lle_en_us", "InterPro Keyboard (LLE, US English)") +DEFINE_DEVICE_TYPE(INTERPRO_LLE_EN_US_KEYBOARD, bus::interpro::keyboard::lle_en_us_device, "kbd_lle_en_us", "InterPro Keyboard (LLE, US English)") namespace bus::interpro::keyboard { |