summaryrefslogtreecommitdiffstats
path: root/src/emu/drawgfx.cpp
diff options
context:
space:
mode:
author Paul Priest <ppriest@gmail.com>2016-05-24 21:45:24 +0100
committer Paul Priest <ppriest@gmail.com>2016-05-24 21:45:24 +0100
commit25d907c348fa02127f574b4a4b6f2375845b2d42 (patch)
tree4934811a0bd8390ef935c43a85045222d3f7518a /src/emu/drawgfx.cpp
parent8be2652e41e62c930c9cfa803d56a4e27e4794c9 (diff)
psikyosh.cpp/drawgfx.cpp - Fix debug asserts MT3753
Psikyosh uses bitmap_rgb32, but should really use argb32, but that requires overloading lots of drawgfx for this one driver. Removed assert was wrong and unavoidable. Fixed boundary condition tripping daraku as per MT3753.
Diffstat (limited to 'src/emu/drawgfx.cpp')
-rw-r--r--src/emu/drawgfx.cpp2
1 files changed, 0 insertions, 2 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 */