for(y = 0; y < 400; y += 2) {
p = emu->screen_buffer(y);
pp = p;
+ yoff = (y / 2) * 80;
for(x = 0; x < 10; x++) {
GETVRAM_8_200L(yoff + 0, p, rgbmask);
p += 8;
//lastflag = put_dot(x_begin, y_begin);
if(ycount == 0) {
if(ax > 0) {
- for(; cpx_t <= x_end; cpx_t++) {
+ for (; cpx_t <= x_end; cpx_t++) {
lastflag = put_dot(cpx_t, cpy_t);
}
} else {
}
} else { // (abs(ax) <= abs(ay)
diff = (xcount * 32768) / ycount;
- for(; ycount >= 0; ycount--) {
+ for (; ycount >= 0; ycount--) {
lastflag = put_dot(cpx_t, cpy_t);
count += diff;
if(count > 16384) {
line_style.d = 0;
line_style.w.l = state_fio->FgetUint16_BE();
}
+ return true;
}