diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/emu/drawgfx.cpp | 2 | ||||
-rw-r--r-- | src/mame/video/psikyosh.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/drawgfx.cpp b/src/emu/drawgfx.cpp index 8ca9b1d7aea..e2bb6a688a8 100644 --- a/src/emu/drawgfx.cpp +++ b/src/emu/drawgfx.cpp @@ -1653,8 +1653,6 @@ void gfx_element::alphastore(bitmap_rgb32 &dest, const rectangle &cliprect, DECLARE_NO_PRIORITY; const pen_t *paldata; - assert(dest.bpp() == 32); - assert(dest.format() == BITMAP_FORMAT_ARGB32); assert(alphatable != nullptr); /* if we have a fixed alpha, call the standard drawgfx_transpen */ diff --git a/src/mame/video/psikyosh.cpp b/src/mame/video/psikyosh.cpp index 2c40e75aa44..ab89aef6170 100644 --- a/src/mame/video/psikyosh.cpp +++ b/src/mame/video/psikyosh.cpp @@ -208,7 +208,7 @@ void psikyosh_state::cache_bitmap(int scanline, gfx_element *gfx, int size, int // test if the tile row is the cached one or not int sy = scanline / 16; - assert(sy > 0 && sy < 32); + assert(sy >= 0 && sy < 32); if(tilebank != last_bank[sy]) { |