psxgpu: m_debug struct is uninitialised in a non-debug build (no whatsnew)

This commit is contained in:
mahlemiut 2014-01-25 03:33:29 +00:00
parent 3cff6ccb53
commit d5b31eb83b

View File

@ -435,11 +435,13 @@ void psxgpu_device::updatevisiblearea()
break;
}
#if defined( MAME_DEBUG )
if( m_debug.b_mesh || m_debug.b_texture )
{
n_screenheight = 1024;
n_screenwidth = 1024;
}
#endif
visarea.set(0, n_screenwidth - 1, 0, n_screenheight - 1);
machine().primary_screen->configure(n_screenwidth, n_screenheight, visarea, HZ_TO_ATTOSECONDS(refresh));