Previous 199869 Revisions Next

r20166 Wednesday 9th January, 2013 at 21:06:13 UTC by Wilbert Pol
Fixed 'typo' (nw)
[src/emu/video]huc6202.c

trunk/src/emu/video/huc6202.c
r20165r20166
7575   }
7676   else
7777   {
78      UINT8   prio_type = m_prio[ m_prio_map[ m_map_index ] ].prio_type;
78      UINT8   prio_index = m_prio_map[ m_map_index ];
7979
80      if ( m_prio[ prio_type ].dev0_enabled && data_0 != huc6270_device::HUC6270_SPRITE )
80      if ( m_prio[ prio_index ].dev0_enabled && data_0 != huc6270_device::HUC6270_SPRITE )
8181      {
82         if ( m_prio[ prio_type ].dev1_enabled && data_1 != huc6270_device::HUC6270_SPRITE )
82         if ( m_prio[ prio_index ].dev1_enabled && data_1 != huc6270_device::HUC6270_SPRITE )
8383         {
84            switch ( prio_type )
84            switch ( m_prio[ prio_index ].prio_type )
8585            {
8686            case 0:      /* Back - BG1 SP1 BG0 SP0 - Front */
8787               data = ( data_0 & 0x0F ) ? data_0 : data_1;
r20165r20166
151151      else
152152      {
153153         /* Only device 1 is enabled */
154         if ( m_prio[ prio_type ].dev1_enabled && data_1 != huc6270_device::HUC6270_SPRITE )
154         if ( m_prio[ prio_index ].dev1_enabled && data_1 != huc6270_device::HUC6270_SPRITE )
155155         {
156156            data = data_1;
157157         }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team