summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/tandy2k.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-11 16:29:26 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-11 16:29:26 +0000
commitd1a2c2e7a36796de9619ec4d9f81ea755178412d (patch)
treee210e894a1cda37c5407eaa0ff5a1e89b97cbfe3 /src/mess/drivers/tandy2k.c
parent0aa418e85b7f7aad5088bc96c9da0c371b15b2f2 (diff)
Add ambiguous execute() and memory() methods to the
device_execute/memory_interfaces respectively in order to catch unnecessary usage of the corresponding device_t methods. Removed all existing redundant usage. [Aaron Giles]
Diffstat (limited to 'src/mess/drivers/tandy2k.c')
-rw-r--r--src/mess/drivers/tandy2k.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/drivers/tandy2k.c b/src/mess/drivers/tandy2k.c
index c42fd280b6f..d07481aa7bc 100644
--- a/src/mess/drivers/tandy2k.c
+++ b/src/mess/drivers/tandy2k.c
@@ -49,7 +49,7 @@ void tandy2k_state::speaker_update()
READ8_MEMBER( tandy2k_state::videoram_r )
{
- address_space *program = m_maincpu->memory().space(AS_PROGRAM);
+ address_space *program = m_maincpu->space(AS_PROGRAM);
offs_t addr = (m_vram_base << 15) | (offset << 1);
UINT16 data = program->read_word(addr);
@@ -319,7 +319,7 @@ UINT32 tandy2k_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
static CRT9007_DRAW_SCANLINE( tandy2k_crt9007_display_pixels )
{
tandy2k_state *state = device->machine().driver_data<tandy2k_state>();
- address_space *program = state->m_maincpu->memory().space(AS_PROGRAM);
+ address_space *program = state->m_maincpu->space(AS_PROGRAM);
for (int sx = 0; sx < x_count; sx++)
{
@@ -670,7 +670,7 @@ static TANDY2K_KEYBOARD_INTERFACE( kb_intf )
void tandy2k_state::machine_start()
{
// memory banking
- address_space *program = m_maincpu->memory().space(AS_PROGRAM);
+ address_space *program = m_maincpu->space(AS_PROGRAM);
UINT8 *ram = m_ram->pointer();
int ram_size = m_ram->size();