Fixed MT#04962: plottinga: Crash during init before OK - From Haze

This commit is contained in:
Scott Stone 2012-08-02 23:04:08 +00:00
parent 19c21d9172
commit b9f36244a7

View File

@ -2676,7 +2676,7 @@ static DRIVER_INIT( plottinga )
tab[i] = v;
}
p = machine.root_device().memregion("maincpu")->base();
for (i = 0; i < 0x20000; i++)
for (i = 0; i < 0x10000; i++)
{
*p = tab[*p];
p++;