Fix GCC compile (nw)

This commit is contained in:
R. Belmont 2012-10-26 21:58:24 +00:00
parent 7740759fbc
commit bd5a8dd4f5

View file

@ -678,7 +678,7 @@ READ8_MEMBER( p500_state::vic_videoram_r )
&cs1, &sidcs, &extprtcs, &ciacs, &aciacs, &tript1cs, &tript2cs, &aec, &vsysaden); &cs1, &sidcs, &extprtcs, &ciacs, &aciacs, &tript1cs, &tript2cs, &aec, &vsysaden);
UINT8 data = 0xff; UINT8 data = 0xff;
UINT8 clrnib = 0xf; // UINT8 clrnib = 0xf;
if (vsysaden) if (vsysaden)
{ {
@ -686,10 +686,10 @@ READ8_MEMBER( p500_state::vic_videoram_r )
{ {
data = m_ram->pointer()[(m_vicbnksel << 14) | offset]; data = m_ram->pointer()[(m_vicbnksel << 14) | offset];
} }
if (!clrnibcs) /* if (!clrnibcs)
{ {
clrnib = m_color_ram[offset & 0x3ff]; clrnib = m_color_ram[offset & 0x3ff];
} }*/
if (!vidmatcs) if (!vidmatcs)
{ {
data = m_video_ram[offset & 0x3ff]; data = m_video_ram[offset & 0x3ff];