summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/pipbug.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-17 08:22:16 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-17 08:22:16 +0000
commit3cce7e019e095296b5ce2bb45d19b1209bed961d (patch)
tree4fa76260ac2dee5878fbba70d759ba6a1d4d76bf /src/mess/drivers/pipbug.c
parent22b4739aded17790b3f1bf31b9da8ff9e6a0860c (diff)
Memory handler normalization, part 2. Change legacy
read/write handlers to take an address_space & instead of an address_space *. Also update pretty much all other functions to take a reference where appropriate. [Aaron Giles]
Diffstat (limited to 'src/mess/drivers/pipbug.c')
-rw-r--r--src/mess/drivers/pipbug.c4
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 */