summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/hp48.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/hp48.c')
-rw-r--r--src/mess/video/hp48.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/video/hp48.c b/src/mess/video/hp48.c
index 463cc71be11..250f5e0b6e8 100644
--- a/src/mess/video/hp48.c
+++ b/src/mess/video/hp48.c
@@ -130,7 +130,7 @@ void hp48_state::palette_init()
UINT32 hp48_state::screen_update_hp48(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
hp48_state *state = machine().driver_data<hp48_state>();
- address_space &space = *machine().device("maincpu")->memory().space(AS_PROGRAM);
+ address_space &space = machine().device("maincpu")->memory().space(AS_PROGRAM);
int x, y, xp, i, addr;
int display = HP48_IO_4(0) >> 3; /* 1=on, 0=off */
int left_margin = HP48_IO_4(0) & 7; /* 0..7 pixels for main bitmap */