diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-07-08 12:14:07 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-07-08 12:14:07 -0400 |
commit | 444f2ccd7831c28196019890f3f4e3dd8374a754 (patch) | |
tree | feccfc37d166d0d99dc250d0bebebcd648f12a98 | |
parent | e6f78ae943c95dcff114b538bf318a688338c265 (diff) |
namcoic.cpp: Remove unused folderol (nw)
-rw-r--r-- | src/mame/machine/namcoic.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/mame/machine/namcoic.cpp b/src/mame/machine/namcoic.cpp index 4468df7546f..f6fe2ce144b 100644 --- a/src/mame/machine/namcoic.cpp +++ b/src/mame/machine/namcoic.cpp @@ -513,57 +513,6 @@ READ16_MEMBER( namcos2_shared_state::c355_obj_position_r ) return m_c355_obj_position[offset]; } -static inline uint8_t -nth_byte16( const uint16_t *pSource, int which ) -{ - uint16_t data = pSource[which/2]; - if( which&1 ) - { - return data&0xff; - } - else - { - return data>>8; - } -} /* nth_byte16 */ - -/* nth_word32 is a general-purpose utility function, which allows us to - * read from 32-bit aligned memory as if it were an array of 16 bit words. - */ -#ifdef UNUSED_FUNCTION -static inline uint16_t -nth_word32( const uint32_t *pSource, int which ) -{ - uint32_t data = pSource[which/2]; - if( which&1 ) - { - return data&0xffff; - } - else - { - return data>>16; - } -} /* nth_word32 */ -#endif - -/* nth_byte32 is a general-purpose utility function, which allows us to - * read from 32-bit aligned memory as if it were an array of bytes. - */ -#ifdef UNUSED_FUNCTION -static inline uint8_t -nth_byte32( const uint32_t *pSource, int which ) -{ - uint32_t data = pSource[which/4]; - switch( which&3 ) - { - case 0: return data>>24; - case 1: return (data>>16)&0xff; - case 2: return (data>>8)&0xff; - default: return data&0xff; - } -} /* nth_byte32 */ -#endif - /**************************************************************************************************************/ /** |