--- np2/lio/Attic/gview.c 2003/10/16 17:58:27 1.1.1.1 +++ np2/lio/Attic/gview.c 2003/12/12 01:04:40 1.3 @@ -1,6 +1,5 @@ #include "compiler.h" -#include "i286.h" -#include "memory.h" +#include "cpucore.h" #include "pccore.h" #include "iocore.h" #include "lio.h" @@ -52,7 +51,7 @@ BYTE lio_gview(void) { SINT16 x2; SINT16 y2; - i286_memstr_read(I286_DS, I286_BX, &dat, sizeof(dat)); + i286_memstr_read(CPU_DS, CPU_BX, &dat, sizeof(dat)); x1 = (SINT16)LOADINTELWORD(dat.x1); y1 = (SINT16)LOADINTELWORD(dat.y1); x2 = (SINT16)LOADINTELWORD(dat.x2);