--- np2/io/gdc.c 2003/12/27 11:55:23 1.10 +++ np2/io/gdc.c 2004/01/30 14:33:27 1.12 @@ -173,6 +173,7 @@ void gdc_work(int id) { screenupdate |= 2; // ver0.28 break; + case CMD_STOP_: case CMD_STOP: case CMD_SYNC_OFF: (*dispflag) &= (~GDCSCRN_ENABLE); @@ -378,7 +379,7 @@ static REG8 IOINPCALL gdc_i60(UINT port) ret = 0x80 | gdc.vsync; // | m_drawing; remain = nevent_getremain(NEVENT_FLAMES); if (remain >= 0) { - if ((remain % pc.raster) < pc.hsync) { + if ((remain % pccore.raster) < pccore.hsync) { ret |= 0x40; } } @@ -545,7 +546,7 @@ static REG8 IOINPCALL gdc_ia0(UINT port) ret = 0x80 | gdc.vsync | gdc.s_drawing; remain = nevent_getremain(NEVENT_FLAMES); if (remain >= 0) { - if ((remain % pc.raster) < (pc.hsync)) { + if ((remain % pccore.raster) < (pccore.hsync)) { ret |= 0x40; } }