diff options
author | Aaron Giles <aaron@aarongiles.com> | 2012-04-11 16:29:24 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2012-04-11 16:29:24 +0000 |
commit | 4407afdb54ec5009223c349a682011ee2acd1083 (patch) | |
tree | 85c5b001e8b81e671ddb253b24fbcd5971404924 /src/mame/drivers/jubilee.c | |
parent | 986f1ef77d155ababe21499a24867604b84d6564 (diff) |
Removed unnecessary target() calls from shared_ptr references.
You still need target() if you want to cast to another pointer size.
This should be rare, and in fact fixing these pointed out a few
cases where code was missing BYTE/WORD/DWORD_XOR_* macros. I flagged
these with:
// ERROR: This cast is NOT endian-safe without the use of BYTE/WORD/DWORD_XOR_* macros!
For future fixing.
Diffstat (limited to 'src/mame/drivers/jubilee.c')
-rw-r--r-- | src/mame/drivers/jubilee.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/jubilee.c b/src/mame/drivers/jubilee.c index 53a7a569e32..11ea6521a59 100644 --- a/src/mame/drivers/jubilee.c +++ b/src/mame/drivers/jubilee.c @@ -111,7 +111,7 @@ public: WRITE8_MEMBER(jubilee_state::jubileep_videoram_w) { - m_videoram.target()[offset] = data; + m_videoram[offset] = data; m_bg_tilemap->mark_tile_dirty(offset); } @@ -119,7 +119,7 @@ WRITE8_MEMBER(jubilee_state::jubileep_videoram_w) static TILE_GET_INFO( get_bg_tile_info ) { jubilee_state *state = machine.driver_data<jubilee_state>(); - int code = state->m_videoram.target()[tile_index]; + int code = state->m_videoram[tile_index]; SET_TILE_INFO( 0, code, 0, 0); } |