summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/apollo.c
diff options
context:
space:
mode:
author David Haywood <mamehaze@users.noreply.github.com>2013-06-25 12:47:40 +0000
committer David Haywood <mamehaze@users.noreply.github.com>2013-06-25 12:47:40 +0000
commit46d3380120862acdb83cf804faf8d273f7b60d7d (patch)
treed619f456ad1d06529f177fe73167f70b74af51d3 /src/mess/drivers/apollo.c
parent66585a5e2f3edf1fb5fc348905f7abe5ad1332ed (diff)
probably fix (somebody who knows it, please check this driver, it seems a little too keen on poking around with internals) (nw)
Diffstat (limited to 'src/mess/drivers/apollo.c')
-rw-r--r--src/mess/drivers/apollo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mess/drivers/apollo.c b/src/mess/drivers/apollo.c
index 28fb196dbf5..31c4e54f470 100644
--- a/src/mess/drivers/apollo.c
+++ b/src/mess/drivers/apollo.c
@@ -219,7 +219,6 @@ UINT32 apollo_get_node_id(void) {
int apollo_instruction_hook(m68000_base_device *device, offs_t curpc)
{
m68000_base_device *m68k = device;
- //m68000_base_device *m68k = (m68000_base_device *) downcast<legacy_cpu_device *> (device)->token();
static UINT16 idle_counter = 0;
@@ -513,7 +512,7 @@ READ32_MEMBER(apollo_state::apollo_unmapped_r)
{
offs_t address = offset * 4;
- m68000_base_device *m68k = (m68000_base_device *) downcast<legacy_cpu_device *>(&space.device())->token();
+ m68000_base_device *m68k = m_maincpu;
if ((address & 0xfff00000) == 0xfa800000 && VERBOSE < 2) {
// ?