--- np2/io/gdc.c 2005/05/20 13:59:47 1.38 +++ np2/io/gdc.c 2007/11/03 00:00:20 1.40 @@ -93,7 +93,7 @@ void gdc_setanalogpal(int color, int rgb event = palevent.event + palevent.events; event->clock = nevent.item[NEVENT_FLAMES].clock - (CPU_BASECLOCK - CPU_REMCLOCK); - event->color = (color * sizeof(RGB32)) + rgb; + event->color = (UINT16)((color * sizeof(RGB32)) + rgb); event->value = (UINT8)value; palevent.events++; } @@ -1129,7 +1129,7 @@ void gdc_biosreset(void) { screenupdate |= 2; } -void gdc_reset(void) { +void gdc_reset(const NP2CFG *pConfig) { ZeroMemory(&gdc, sizeof(gdc)); ZeroMemory(&gdcs, sizeof(gdcs)); @@ -1145,6 +1145,8 @@ void gdc_reset(void) { gdc.display |= (1 << GDCDISP_PLAZMA2); } gdc_biosreset(); + + (void)pConfig; } void gdc_bind(void) {