summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/atom.c')
-rw-r--r--src/mess/drivers/atom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/drivers/atom.c b/src/mess/drivers/atom.c
index 722e2a46724..43887da9489 100644
--- a/src/mess/drivers/atom.c
+++ b/src/mess/drivers/atom.c
@@ -123,11 +123,11 @@ Hardware: PPIA 8255
void atom_state::bankswitch()
{
- address_space *program = m_maincpu->space(AS_PROGRAM);
+ address_space &program = m_maincpu->space(AS_PROGRAM);
UINT8 *eprom = memregion(EXTROM_TAG)->base() + (m_eprom << 12);
- program->install_rom(0xa000, 0xafff, eprom);
+ program.install_rom(0xa000, 0xafff, eprom);
}
/*-------------------------------------------------
@@ -648,7 +648,7 @@ void atom_state::machine_start()
generator. I don't know if this is hardware, or random data because the
ram chips are not cleared at start-up. So at this time, these numbers
are poked into the memory to simulate it. When I have more details I will fix it */
- UINT8 *m_baseram = (UINT8 *)m_maincpu->space(AS_PROGRAM)->get_write_ptr(0x0000);
+ UINT8 *m_baseram = (UINT8 *)m_maincpu->space(AS_PROGRAM).get_write_ptr(0x0000);
m_baseram[0x08] = machine().rand() & 0x0ff;
m_baseram[0x09] = machine().rand() & 0x0ff;