diff options
Diffstat (limited to 'src/mess/drivers/pipbug.c')
-rw-r--r-- | src/mess/drivers/pipbug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/pipbug.c b/src/mess/drivers/pipbug.c index 0e1d2d812df..b95737a8e1d 100644 --- a/src/mess/drivers/pipbug.c +++ b/src/mess/drivers/pipbug.c @@ -92,7 +92,7 @@ static const serial_terminal_interface terminal_intf = QUICKLOAD_LOAD( pipbug ) { - address_space *space = image.device().machine().device("maincpu")->memory().space(AS_PROGRAM); + address_space &space = *image.device().machine().device("maincpu")->memory().space(AS_PROGRAM); int i; int quick_addr = 0x0440; int exec_addr; @@ -149,7 +149,7 @@ QUICKLOAD_LOAD( pipbug ) for (i = quick_addr; i < quick_length; i++) { - space->write_byte(i, quick_data[i]); + space.write_byte(i, quick_data[i]); } /* display a message about the loaded quickload */ |