diff options
Diffstat (limited to 'src/emu/machine/s3c2440.c')
-rw-r--r-- | src/emu/machine/s3c2440.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/machine/s3c2440.c b/src/emu/machine/s3c2440.c index 359eb41d5bc..445053926ed 100644 --- a/src/emu/machine/s3c2440.c +++ b/src/emu/machine/s3c2440.c @@ -14,7 +14,7 @@ #define VERBOSE_LEVEL ( 0 ) -INLINE void ATTR_PRINTF(3,4) verboselog( running_machine *machine, int n_level, const char *s_fmt, ...) +INLINE void ATTR_PRINTF(3,4) verboselog( running_machine &machine, int n_level, const char *s_fmt, ...) { if (VERBOSE_LEVEL >= n_level) { @@ -23,7 +23,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine *machine, int n_level, va_start( v, s_fmt); vsprintf( buf, s_fmt, v); va_end( v); - logerror( "%s: %s", machine->describe_context( ), buf); + logerror( "%s: %s", machine.describe_context( ), buf); } } @@ -33,19 +33,19 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine *machine, int n_level, VIDEO_START( s3c2440 ) { - device_t *device = machine->device( S3C2440_TAG); + device_t *device = machine.device( S3C2440_TAG); s3c24xx_video_start( device, machine); } SCREEN_UPDATE( s3c2440 ) { - device_t *device = screen->machine->device( S3C2440_TAG); + device_t *device = screen->machine().device( S3C2440_TAG); return s3c24xx_video_update( device, screen, bitmap, cliprect); } 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)); |