summaryrefslogtreecommitdiffstats
path: root/src/emu/render.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-06-18 21:00:08 -0400
committer AJR <ajrhacker@users.noreply.github.com>2016-06-18 21:00:08 -0400
commitf87a5de4468cb7949d52d153491d5cf2aa0daa0f (patch)
treec3fb500b02095d8a029307cbe1547e311581558f /src/emu/render.cpp
parent20906487ce74ba59e7a40c58933d5fc569b04d50 (diff)
Prevent NaN errors by initializing variable in ui::text_layout (nw)
Use osd_printf_verbose instead of popmessage in ay8910 (too annoying even for debug build)
Diffstat (limited to 'src/emu/render.cpp')
-rw-r--r--src/emu/render.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emu/render.cpp b/src/emu/render.cpp
index f8cc9529f42..636cc3d2c6d 100644
--- a/src/emu/render.cpp
+++ b/src/emu/render.cpp
@@ -772,6 +772,11 @@ render_container::item &render_container::add_generic(UINT8 type, float x0, floa
{
item *newitem = m_item_allocator.alloc();
+ assert(x0 == x0);
+ assert(x1 == x1);
+ assert(y0 == y0);
+ assert(y1 == y1);
+
// copy the data into the new item
newitem->m_type = type;
newitem->m_bounds.x0 = x0;