Changeset e68b406 in buchla-68k
- Timestamp:
- 11/15/2017 09:06:35 PM (7 years ago)
- Branches:
- master
- Children:
- b28c09e
- Parents:
- f852615
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/uslice.c
rf852615 re68b406 157 157 ncolor = mask1 & BARCOLOR; /* setup bar write variable */ 158 158 159 for (i = 211; i--; ) /* draw the bar */ 160 *slptr++ = (*slptr & mask2) | ncolor; 159 for (i = 211; i--; ) { /* draw the bar */ 160 *slptr = (*slptr & mask2) | ncolor; 161 ++slptr; 162 } 161 163 162 164 gdstb[NGDSEL - 1] = (struct gdsel *)NULL; /* clear flag */ … … 182 184 /* update the slice */ 183 185 184 *slptr++ = (*slptr & mask2) | (*pxptr++ & ncolor); 185 *slptr++ = (*slptr & mask2) | (*pxptr++ & ncolor); 186 *slptr = (*slptr & mask2) | (*pxptr++ & ncolor); 187 ++slptr; 188 *slptr = (*slptr & mask2) | (*pxptr++ & ncolor); 189 ++slptr; 186 190 *slptr = (*slptr & mask2) | (*pxptr++ & ncolor); 187 191 … … 453 457 ncolor = mask1 & BARCOLOR; /* setup bar write variable */ 454 458 455 for (i = 211; i--; ) /* draw the bar */ 456 *slptr++ = (*slptr & mask2) | ncolor; 459 for (i = 211; i--; ) { /* draw the bar */ 460 *slptr = (*slptr & mask2) | ncolor; 461 ++slptr; 462 } 457 463 458 464 gdstb[NGDSEL - 1] = (struct gdsel *)NULL; /* clear flag */ … … 481 487 /* update the slice */ 482 488 483 *slptr++ = (*slptr & mask2) | (*pxptr++ & ncolor); 484 *slptr++ = (*slptr & mask2) | (*pxptr++ & ncolor); 489 *slptr = (*slptr & mask2) | (*pxptr++ & ncolor); 490 ++slptr; 491 *slptr = (*slptr & mask2) | (*pxptr++ & ncolor); 492 ++slptr; 485 493 *slptr = (*slptr & mask2) | (*pxptr++ & ncolor); 486 494
Note:
See TracChangeset
for help on using the changeset viewer.