diff options
Diffstat (limited to 'src/mame/video/decbac06.cpp')
-rw-r--r-- | src/mame/video/decbac06.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/decbac06.cpp b/src/mame/video/decbac06.cpp index 3bbd98b9002..32c2f7c1b4c 100644 --- a/src/mame/video/decbac06.cpp +++ b/src/mame/video/decbac06.cpp @@ -69,9 +69,9 @@ const device_type DECO_BAC06 = &device_creator<deco_bac06_device>; deco_bac06_device::deco_bac06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECO_BAC06, "DECO BAC06 Tilemap", tag, owner, clock, "deco_bac06", __FILE__), - m_pf_data(NULL), - m_pf_rowscroll(NULL), - m_pf_colscroll(NULL), + m_pf_data(nullptr), + m_pf_rowscroll(nullptr), + m_pf_colscroll(nullptr), m_tile_region_8(0), m_tile_region_16(0), m_supports_8x8(true), @@ -315,7 +315,7 @@ void deco_bac06_device::custom_tilemap_draw(bitmap_ind16 &bitmap, void deco_bac06_device::deco_bac06_pf_draw(bitmap_ind16 &bitmap,const rectangle &cliprect,int flags,UINT16 penmask, UINT16 pencondition,UINT16 colprimask, UINT16 colpricondition) { - tilemap_t* tm = 0; + tilemap_t* tm = nullptr; int tm_dimensions = m_pf_control_0[3] & 0x3; if (tm_dimensions == 3) tm_dimensions = 1; // 3 is invalid / the same as 1? @@ -351,11 +351,11 @@ void deco_bac06_device::deco_bac06_pf_draw(bitmap_ind16 &bitmap,const rectangle // used for pocket gal bootleg, which doesn't set registers properly and simply expects a fixed size tilemap. void deco_bac06_device::deco_bac06_pf_draw_bootleg(bitmap_ind16 &bitmap,const rectangle &cliprect,int flags, int mode, int type) { - tilemap_t* tm = 0; + tilemap_t* tm = nullptr; if (!mode) tm = m_pf8x8_tilemap[type]; else tm = m_pf16x16_tilemap[type]; - custom_tilemap_draw(bitmap,cliprect,tm,m_pf_rowscroll,m_pf_colscroll,0,0,flags, 0, 0, 0, 0); + custom_tilemap_draw(bitmap,cliprect,tm,m_pf_rowscroll,m_pf_colscroll,nullptr,nullptr,flags, 0, 0, 0, 0); } |