summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/decocass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/decocass.cpp')
-rw-r--r--src/mame/video/decocass.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/video/decocass.cpp b/src/mame/video/decocass.cpp
index 74f5d4d9568..bf06d8cd5a9 100644
--- a/src/mame/video/decocass.cpp
+++ b/src/mame/video/decocass.cpp
@@ -125,7 +125,6 @@
#include "emu.h"
#include "includes/decocass.h"
-#include <algorithm>
static const uint32_t tile_offset[32*32] = {
@@ -249,8 +248,8 @@ void decocass_state::draw_special_priority(bitmap_ind16 &bitmap, bitmap_ind8 &pr
sy += 256;
int sx = m_part_h_shift - 128;
- const uint16_t *objdata0 = m_gfxdecode->gfx(3)->get_data(0);
- const uint16_t *objdata1 = m_gfxdecode->gfx(3)->get_data(1);
+ const uint8_t *objdata0 = m_gfxdecode->gfx(3)->get_data(0);
+ const uint8_t *objdata1 = m_gfxdecode->gfx(3)->get_data(1);
assert(m_gfxdecode->gfx(3)->rowbytes() == 64);
for (int y = cliprect.top(); y <= cliprect.bottom(); y++)
@@ -720,7 +719,7 @@ void decocass_state::video_start()
m_gfxdecode->gfx(3)->set_source(m_objectram);
/* create an empty tile */
- std::fill(std::begin(m_empty_tile), std::end(m_empty_tile), 0);
+ memset(m_empty_tile, 0, sizeof(m_empty_tile));
}
uint32_t decocass_state::screen_update_decocass(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)