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