diff options
Diffstat (limited to 'src/mame/machine/fd1089.c')
-rw-r--r-- | src/mame/machine/fd1089.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/fd1089.c b/src/mame/machine/fd1089.c index f2df406d035..0bc23a8fdf0 100644 --- a/src/mame/machine/fd1089.c +++ b/src/mame/machine/fd1089.c @@ -253,9 +253,9 @@ void fd1089_base_device::device_start() decrypt(0x000000, romsize, m_plaintext, m_decrypted_opcodes, rombase); // mark the ROM region as decrypted, pointing to the opcodes (if it is mapped) - address_space *program = space(AS_PROGRAM); - if (program->get_read_ptr(0) != NULL) - program->set_decrypted_region(0x000000, romsize - 1, m_decrypted_opcodes); + address_space &program = space(AS_PROGRAM); + if (program.get_read_ptr(0) != NULL) + program.set_decrypted_region(0x000000, romsize - 1, m_decrypted_opcodes); } |