mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
ms32_sprite.cpp: Fix assert (nw)
This commit is contained in:
parent
97490cdd49
commit
25e68952de
@ -795,7 +795,7 @@ inline void ms32_sprite_device::draw_sprite_core(BitmapType &dest, const rectang
|
||||
do {
|
||||
assert(dest.valid());
|
||||
assert(dest.cliprect().contains(cliprect));
|
||||
assert(code < elements());
|
||||
assert(code < gfx(0)->elements());
|
||||
|
||||
// ignore empty/invalid cliprects
|
||||
if (cliprect.empty())
|
||||
@ -901,7 +901,7 @@ inline void ms32_sprite_device::draw_sprite_core(BitmapType &dest, const rectang
|
||||
assert(dest.valid());
|
||||
assert(priority.valid());
|
||||
assert(dest.cliprect().contains(cliprect));
|
||||
assert(code < elements());
|
||||
assert(code < gfx(0)->elements());
|
||||
|
||||
// ignore empty/invalid cliprects
|
||||
if (cliprect.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user