--- np2/font/fontdata.c 2003/11/15 07:10:02 1.2 +++ np2/font/fontdata.c 2004/02/07 21:23:22 1.4 @@ -1,5 +1,5 @@ #include "compiler.h" -#include "memory.h" +#include "cpucore.h" #include "font.h" #include "fontdata.h" #include "fontdata.res" @@ -53,6 +53,18 @@ const BYTE *p; // ---- +void fontdata_ank8store(const BYTE *ptr, UINT pos, UINT cnt) { + + BYTE *dat; + + dat = fontrom + 0x82000 + (pos * 16); + while(cnt--) { + CopyMemory(dat, ptr, 8); + dat += 16; + ptr += 8; + } +} + void fontdata_patch16a(void) { CopyMemory(fontrom + 0x80000, fontdata_16 + 0*32*16, 32*16);