v99x8.c: Fixed crash in debug builds, (nw)

This commit is contained in:
Wilbert Pol 2013-12-21 22:39:17 +00:00
parent da478ac3c3
commit ccc5041310
2 changed files with 2 additions and 5 deletions

View File

@ -262,7 +262,7 @@ to emulate this. Also it keeps the palette a reasonable size. :)
*/
UINT16 *v99x8_device::s_pal_indYJK;
UINT16 v99x8_device::s_pal_indYJK[0x20000];
PALETTE_INIT_MEMBER(v9958_device, v9958)
{
@ -275,9 +275,6 @@ PALETTE_INIT_MEMBER(v9958_device, v9958)
if(machine().total_colors() != 19780)
fatalerror("V9958: not enough palette, must be 19780");
if (v99x8_device::s_pal_indYJK == NULL)
v99x8_device::s_pal_indYJK = auto_alloc_array(machine(),UINT16, 0x20000);
// set up YJK table
LOG(("Building YJK table for V9958 screens, may take a while ... \n"));
i = 0;

View File

@ -238,7 +238,7 @@ private:
static const v99x8_mode s_modes[];
protected:
static UINT16 *s_pal_indYJK;
static UINT16 s_pal_indYJK[0x20000];
};