summaryrefslogtreecommitdiffstats
path: root/src/emu/tilemap.cpp
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2017-05-04 10:44:25 -0400
committer GitHub <noreply@github.com>2017-05-04 10:44:25 -0400
commit5afc563c3abc52b5e45986de49de19f98be3e5b8 (patch)
tree8033c8d0c3d70a8259add976bd0eb3317c0e0c50 /src/emu/tilemap.cpp
parentc9c097050b6364346ef530cd23bb576ebe185aa2 (diff)
parent4091898097df5ee2ba2aeb312d6183b3f9372772 (diff)
Merge pull request #2072 from startaq/tilemap_category
UI: Add the ability to select different tilemap categories
Diffstat (limited to 'src/emu/tilemap.cpp')
-rw-r--r--src/emu/tilemap.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/emu/tilemap.cpp b/src/emu/tilemap.cpp
index 2e2b14f5086..d1db7ea6082 100644
--- a/src/emu/tilemap.cpp
+++ b/src/emu/tilemap.cpp
@@ -1457,12 +1457,16 @@ void tilemap_t::draw_roz_core(screen_device &screen, _BitmapClass &destbitmap, c
// rowscroll and with fixed parameters
//-------------------------------------------------
-void tilemap_t::draw_debug(screen_device &screen, bitmap_rgb32 &dest, u32 scrollx, u32 scrolly)
+void tilemap_t::draw_debug(screen_device &screen, bitmap_rgb32 &dest, u32 scrollx, u32 scrolly, u32 flags)
{
// set up for the blit, using hard-coded parameters (no priority, etc)
blit_parameters blit;
bitmap_ind8 dummy_priority;
- configure_blit_parameters(blit, dummy_priority, dest.cliprect(), TILEMAP_DRAW_OPAQUE | TILEMAP_DRAW_ALL_CATEGORIES, 0, 0xff);
+
+ // draw everything
+ flags |= TILEMAP_DRAW_OPAQUE;
+
+ configure_blit_parameters(blit, dummy_priority, dest.cliprect(), flags, 0, 0xff);
// compute the effective scroll positions
scrollx = m_width - scrollx % m_width;