diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-01-04 21:34:48 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-01-04 21:37:14 -0500 |
commit | fc4092b22b722cc7990f8999c3361cb72f93992f (patch) | |
tree | 63c82e6ad7d9516997ecd2462b240a9ea22f1338 /src/devices/bus/isa/cga.cpp | |
parent | dacae4aa1b0b17fcf859afffcbfa728d8fad07ba (diff) |
Remove remaining firstcpu usage from devices (nw)
- isa8_cga_pc1512: Probably needs a rewrite to make this sort of kludge unnecessary
- scnxx562.cpp: There must be a better way to log timing than this...
Diffstat (limited to 'src/devices/bus/isa/cga.cpp')
-rw-r--r-- | src/devices/bus/isa/cga.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/isa/cga.cpp b/src/devices/bus/isa/cga.cpp index 91ee69d48b5..1cea99e2cab 100644 --- a/src/devices/bus/isa/cga.cpp +++ b/src/devices/bus/isa/cga.cpp @@ -1356,7 +1356,7 @@ void isa8_cga_pc1512_device::device_start() m_isa->install_device(0x3d0, 0x3df, read8_delegate( FUNC(isa8_cga_pc1512_device::io_read), this ), write8_delegate( FUNC(isa8_cga_pc1512_device::io_write), this ) ); m_isa->install_bank(0xb8000, 0xbbfff, "bank1", &m_vram[0]); - address_space &space = machine().firstcpu->space( AS_PROGRAM ); + address_space &space = m_isa->memspace(); space.install_write_handler( 0xb8000, 0xbbfff, write8_delegate( FUNC(isa8_cga_pc1512_device::vram_w), this ) ); space.install_write_handler( 0xbc000, 0xbffff, write8_delegate( FUNC(isa8_cga_pc1512_device::vram_w), this ) ); |