summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb/evpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/peb/evpc.cpp')
-rw-r--r--src/devices/bus/ti99/peb/evpc.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/devices/bus/ti99/peb/evpc.cpp b/src/devices/bus/ti99/peb/evpc.cpp
index 38f96403126..10a7e0b36bf 100644
--- a/src/devices/bus/ti99/peb/evpc.cpp
+++ b/src/devices/bus/ti99/peb/evpc.cpp
@@ -39,6 +39,10 @@
#include "evpc.h"
#include "speaker.h"
+DEFINE_DEVICE_TYPE_NS(TI99_EVPC, bus::ti99::peb, snug_enhanced_video_device, "ti99_evpc", "SNUG Enhanced Video Processor Card")
+
+namespace bus { namespace ti99 { namespace peb {
+
#define EVPC_CRU_BASE 0x1400
#define TRACE_ADDRESS 0
@@ -387,7 +391,7 @@ void snug_enhanced_video_device::device_start()
{
m_dsrrom = memregion(DSRROM)->base();
m_novram = std::make_unique<uint8_t[]>(NOVRAM_SIZE);
- m_console_conn = downcast<evpc_clock_connector*>(machine().device(EVPC_CONN_TAG));
+ m_console_conn = downcast<bus::ti99::internal::evpc_clock_connector*>(machine().device(EVPC_CONN_TAG));
save_item(NAME(m_address));
save_item(NAME(m_dsr_page));
save_item(NAME(m_inDsrArea));
@@ -495,4 +499,4 @@ machine_config_constructor snug_enhanced_video_device::device_mconfig_additions(
return MACHINE_CONFIG_NAME( ti99_evpc );
}
-DEFINE_DEVICE_TYPE(TI99_EVPC, snug_enhanced_video_device, "ti99_evpc", "SNUG Enhanced Video Processor Card")
+} } } // end namespace bus::ti99::peb