|
|
| version 1.4, 2004/02/07 21:23:22 | version 1.5, 2005/02/07 14:46:10 |
|---|---|
| Line 7 | Line 7 |
| #define V98FILESIZE 0x46800 | #define V98FILESIZE 0x46800 |
| static void v98knjcpy(BYTE *dst, const BYTE *src, int from, int to) { | static void v98knjcpy(UINT8 *dst, const UINT8 *src, int from, int to) { |
| int i, j, k; | int i, j, k; |
| const BYTE *p; | const UINT8 *p; |
| BYTE *q; | UINT8 *q; |
| for (i=from; i<to; i++) { | for (i=from; i<to; i++) { |
| p = src + 0x1800 + (0x60 * 32 * (i - 1)); | p = src + 0x1800 + (0x60 * 32 * (i - 1)); |
| Line 27 const BYTE *p; | Line 27 const BYTE *p; |
| } | } |
| } | } |
| BYTE fontv98_read(const char *filename, BYTE loading) { | UINT8 fontv98_read(const char *filename, UINT8 loading) { |
| FILEH fh; | FILEH fh; |
| BYTE *v98fnt; | UINT8 *v98fnt; |
| if (!(loading & FONTLOAD_ALL)) { | if (!(loading & FONTLOAD_ALL)) { |
| goto frv_err1; | goto frv_err1; |
| Line 42 BYTE fontv98_read(const char *filename, | Line 42 BYTE fontv98_read(const char *filename, |
| goto frv_err1; | goto frv_err1; |
| } | } |
| v98fnt = (BYTE *)_MALLOC(V98FILESIZE, "v98font"); | v98fnt = (UINT8 *)_MALLOC(V98FILESIZE, "v98font"); |
| if (v98fnt == NULL) { | if (v98fnt == NULL) { |
| goto frv_err2; | goto frv_err2; |
| } | } |