diff options
author | Wilbert Pol <wilbertpol@users.noreply.github.com> | 2015-08-11 22:30:09 +0200 |
---|---|---|
committer | Wilbert Pol <wilbertpol@users.noreply.github.com> | 2015-08-11 22:52:46 +0200 |
commit | f749c73b26b1290fa7403f35b9e6a82ed1fbdc89 (patch) | |
tree | dd22d0aef2bfdb72d34d7551624767958ca2c58f /src/mess/machine/coco.c | |
parent | 0381d9c416177e1be03a92c869e7eb8513de63e9 (diff) |
no longer using read_safe from code under src/mess (nw)
Diffstat (limited to 'src/mess/machine/coco.c')
-rw-r--r-- | src/mess/machine/coco.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/coco.c b/src/mess/machine/coco.c index 58b21d7f7a2..7994f5b9caa 100644 --- a/src/mess/machine/coco.c +++ b/src/mess/machine/coco.c @@ -1163,7 +1163,7 @@ WRITE8_MEMBER( coco_state::ff60_write ) READ8_MEMBER( coco_state::ff40_read ) { - if (offset >= 1 && offset <= 2 && m_beckerportconfig->read_safe(0) == 1) + if (offset >= 1 && offset <= 2 && m_beckerportconfig && m_beckerportconfig->read() == 1) { return m_beckerport->read(space, offset-1, mem_mask); } @@ -1179,7 +1179,7 @@ READ8_MEMBER( coco_state::ff40_read ) WRITE8_MEMBER( coco_state::ff40_write ) { - if (offset >= 1 && offset <= 2 && m_beckerportconfig->read_safe(0) == 1) + if (offset >= 1 && offset <= 2 && m_beckerportconfig && m_beckerportconfig->read() == 1) { return m_beckerport->write(space, offset-1, data, mem_mask); } |