Previous 15994 Revisions Next

r11397 Sunday 1st May, 2011 at 00:48:24 UTC by R. Belmont
vc4000: cheese-fix golf crashiness (no whatsnew)
[src/mess/includes]vc4000.h
[src/mess/video]vc4000.c

src/mess/video/vc4000.c
r11396r11397
498498         {
499499            for (i=0; i<This->size; i++)
500500            {
501               state->m_objects[This->data->x2 + i + j*This->size] |= This->scolor;
502               state->m_objects[This->data->x2 + i + j*This->size] &= 7;
501               int offset = This->data->x2 + i + j*This->size;
502
503               // clip objects outside the object buffer.
504               // someone who knows this hardware should look at
505               // it properly.
506               if (offset < 256)
507               {
508                  state->m_objects[offset] |= This->scolor;
509                  state->m_objects[offset] &= 7;
510               }
503511            }
504512         }
505513      }
src/mess/includes/vc4000.h
r11396r11397
7878   UINT8 m_joy1_y;
7979   UINT8 m_joy2_x;
8080   UINT8 m_joy2_y;
81   UINT8 m_objects[256];
81   UINT8 m_objects[512];
8282   UINT8 m_irq_pause;
8383};
8484

Previous 15994 Revisions Next


© 1998-2018 The MESS Team