--- np2/io/egc.h 2004/01/05 07:48:22 1.6 +++ np2/io/egc.h 2007/11/03 00:00:20 1.8 @@ -27,8 +27,8 @@ typedef struct { int func; UINT remain; UINT stack; - BYTE *inptr; - BYTE *outptr; + UINT8 *inptr; + UINT8 *outptr; EGCWORD mask2; EGCWORD srcmask; UINT8 srcbit; @@ -37,7 +37,7 @@ typedef struct { UINT8 sft8bitr; UINT padding_b[4]; - BYTE buf[4096/8 + 4*4]; + UINT8 buf[4096/8 + 4*4]; UINT padding_a[4]; } _EGC, *EGC; @@ -46,7 +46,7 @@ typedef struct { extern "C" { #endif -void egc_reset(void); +void egc_reset(const NP2CFG *pConfig); void egc_bind(void); void IOOUTCALL egc_w16(UINT port, REG16 value);