diff options
Diffstat (limited to 'src/emu/machine/s3c2440.c')
-rw-r--r-- | src/emu/machine/s3c2440.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/s3c2440.c b/src/emu/machine/s3c2440.c index 9539931ae6a..c5bf9408255 100644 --- a/src/emu/machine/s3c2440.c +++ b/src/emu/machine/s3c2440.c @@ -38,7 +38,7 @@ UINT32 s3c2440_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap DEVICE_START( s3c2440 ) { - address_space &space = *device->machine().device( "maincpu")->memory().space( AS_PROGRAM); + address_space &space = device->machine().device( "maincpu")->memory().space( AS_PROGRAM); space.install_legacy_readwrite_handler( *device, 0x48000000, 0x4800003b, FUNC(s3c24xx_memcon_r), FUNC(s3c24xx_memcon_w)); space.install_legacy_readwrite_handler( *device, 0x49000000, 0x4900005b, FUNC(s3c24xx_usb_host_r), FUNC(s3c24xx_usb_host_w)); space.install_legacy_readwrite_handler( *device, 0x4a000000, 0x4a00001f, FUNC(s3c24xx_irq_r), FUNC(s3c24xx_irq_w)); |