summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/apple2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/apple2.c')
-rw-r--r--src/mess/machine/apple2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/apple2.c b/src/mess/machine/apple2.c
index 53f07a16e4d..518f79a3d4f 100644
--- a/src/mess/machine/apple2.c
+++ b/src/mess/machine/apple2.c
@@ -59,7 +59,7 @@ void apple2_setup_memory(running_machine &machine, const apple2_memmap_config *c
void apple2_update_memory(running_machine &machine)
{
apple2_state *state = machine.driver_data<apple2_state>();
- address_space& space = *machine.device("maincpu")->memory().space(AS_PROGRAM);
+ address_space& space = machine.device("maincpu")->memory().space(AS_PROGRAM);
int i, bank;
char rbank[10], wbank[10];
int full_update = 0;