--- np2/io/cgrom.h 2003/10/16 17:57:50 1.1 +++ np2/io/cgrom.h 2007/11/03 00:00:20 1.4 @@ -6,9 +6,14 @@ typedef struct { } _CGROM, *CGROM; typedef struct { - UINT low; - UINT high; - BYTE writable; +#if !defined(CGWND_FONTPTR) + UINT32 low; + UINT32 high; +#else + BYTE *fontlow; + BYTE *fonthigh; +#endif + UINT8 writable; } _CGWINDOW, *CGWINDOW; @@ -16,7 +21,7 @@ typedef struct { extern "C" { #endif -void cgrom_reset(void); +void cgrom_reset(const NP2CFG *pConfig); void cgrom_bind(void); #ifdef __cplusplus