diff options
Diffstat (limited to 'src/mame/drivers/panicr.cpp')
-rw-r--r-- | src/mame/drivers/panicr.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/panicr.cpp b/src/mame/drivers/panicr.cpp index 564e3803310..d6db1e8f59d 100644 --- a/src/mame/drivers/panicr.cpp +++ b/src/mame/drivers/panicr.cpp @@ -298,12 +298,12 @@ uint32_t panicr_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap for (int y=0;y<256;y++) { - uint16_t* srcline = &m_temprender->pix16(y); - uint16_t* dstline = &bitmap.pix16(y); + uint16_t const *const srcline = &m_temprender->pix(y); + uint16_t *const dstline = &bitmap.pix(y); for (int x=0;x<256;x++) { - uint16_t dat = srcline[x]; + uint16_t const dat = srcline[x]; dstline[x] = ((dat & 0x00f) | ((dat & 0x1e0)>>0)) + 0x200; @@ -315,12 +315,12 @@ uint32_t panicr_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap for (int y=0;y<256;y++) { - uint16_t* srcline = &m_temprender->pix16(y); - uint16_t* dstline = &bitmap.pix16(y); + uint16_t const *const srcline = &m_temprender->pix(y); + uint16_t *const dstline = &bitmap.pix(y); for (int x=0;x<256;x++) { - uint16_t dat = srcline[x]; + uint16_t const dat = srcline[x]; if (dat & 0x10) dstline[x] = ((dat & 0x00f) | ((dat & 0x1e0)>>0)) + 0x200; @@ -367,7 +367,7 @@ uint8_t panicr_state::collision_r(offs_t offset) uint8_t ret = 0; - uint16_t* srcline = &m_tempbitmap_1->pix16(actual_line); + uint16_t const *const srcline = &m_tempbitmap_1->pix(actual_line); ret |= (srcline[(actual_column+0)&0xff]&3) << 6; |