|
|
| version 1.10, 2004/02/22 00:05:56 | version 1.11, 2004/03/04 17:36:06 |
|---|---|
| Line 24 REG8 lio_gpset(GLIO lio) { | Line 24 REG8 lio_gpset(GLIO lio) { |
| SINT16 y; | SINT16 y; |
| lio_updatedraw(lio); | lio_updatedraw(lio); |
| i286_memstr_read(CPU_DS, CPU_BX, &dat, sizeof(dat)); | MEML_READSTR(CPU_DS, CPU_BX, &dat, sizeof(dat)); |
| x = (SINT16)LOADINTELWORD(dat.x); | x = (SINT16)LOADINTELWORD(dat.x); |
| y = (SINT16)LOADINTELWORD(dat.y); | y = (SINT16)LOADINTELWORD(dat.y); |
| if (dat.pal == 0xff) { | if (dat.pal == 0xff) { |
| Line 54 REG8 lio_gpoint2(GLIO lio) { | Line 54 REG8 lio_gpoint2(GLIO lio) { |
| const BYTE *ptr; | const BYTE *ptr; |
| lio_updatedraw(lio); | lio_updatedraw(lio); |
| i286_memstr_read(CPU_DS, CPU_BX, &dat, sizeof(dat)); | MEML_READSTR(CPU_DS, CPU_BX, &dat, sizeof(dat)); |
| x = (SINT16)LOADINTELWORD(dat.x); | x = (SINT16)LOADINTELWORD(dat.x); |
| y = (SINT16)LOADINTELWORD(dat.y); | y = (SINT16)LOADINTELWORD(dat.y); |
| if ((lio->draw.x1 > x) || (lio->draw.x2 < x) || | if ((lio->draw.x1 > x) || (lio->draw.x2 < x) || |