--- np2/io/egc.h 2003/12/08 00:55:32 1.5 +++ np2/io/egc.h 2007/11/03 00:00:20 1.8 @@ -27,17 +27,18 @@ typedef struct { int func; UINT remain; UINT stack; - UINT padding_b[4]; - BYTE buf[4096/8 + 4*4]; - UINT padding_a[4]; - BYTE *inptr; - BYTE *outptr; + UINT8 *inptr; + UINT8 *outptr; EGCWORD mask2; EGCWORD srcmask; UINT8 srcbit; UINT8 dstbit; UINT8 sft8bitl; UINT8 sft8bitr; + + UINT padding_b[4]; + UINT8 buf[4096/8 + 4*4]; + UINT padding_a[4]; } _EGC, *EGC; @@ -45,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);