From 636c66af835125e4fb763cac79fe6c6a77a4222b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 10 Apr 2013 17:13:54 +0000 Subject: [PATCH] debug compile fix (nw) --- src/mame/video/cischeat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/cischeat.c b/src/mame/video/cischeat.c index da469526971..6c9c8e456cb 100644 --- a/src/mame/video/cischeat.c +++ b/src/mame/video/cischeat.c @@ -1412,7 +1412,7 @@ if ( machine().input().code_pressed(KEYCODE_Z) || machine().input().code_pressed if (msk != 0) m_active_layers &= msk; #if 1 { - address_space &space = m_maincpu->space(AS_PROGRAM); + address_space &space = machine().device("maincpu")->memory().space(AS_PROGRAM); popmessage("Cmd: %04X Pos:%04X Lim:%04X Inp:%04X", m_scudhamm_motor_command,