diff options
author | Olivier Galibert <galibert@pobox.com> | 2018-02-24 22:34:40 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2018-02-24 22:34:40 +0100 |
commit | 1fd63a84bddc5b7f95dd632268f730abbfbf3269 (patch) | |
tree | f80691dd0154764360d92f30a8a1e46c1c863e22 | |
parent | 7566427efe0652465781820334119a8bf1559942 (diff) |
ladybug: fix wrong fill length (nw)
-rw-r--r-- | src/mame/video/ladybug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/ladybug.cpp b/src/mame/video/ladybug.cpp index eb280f142bd..718879683da 100644 --- a/src/mame/video/ladybug.cpp +++ b/src/mame/video/ladybug.cpp @@ -98,7 +98,7 @@ void ladybug_video_device::device_start() { m_spr_ram = std::make_unique<u8 []>(0x0400); m_bg_ram = std::make_unique<u8 []>(0x0800); - std::fill_n(m_spr_ram.get(), 0x0800, 0); + std::fill_n(m_spr_ram.get(), 0x0400, 0); std::fill_n(m_bg_ram.get(), 0x0800, 0); m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(ladybug_video_device::get_bg_tile_info), this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); |