Changeset 10c7b46 in buchla-68k for ram/wdfield.c
- Timestamp:
- 11/12/2017 08:52:13 PM (7 years ago)
- Branches:
- master
- Children:
- a250437
- Parents:
- b9ddc9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/wdfield.c
rb9ddc9a r10c7b46 112 112 /* make endpoints track */ 113 113 114 *(wsp1 - 1) = *(wsp2 - 1); /* lowest point */115 *(wsp1 + NUMWPNT) = *(wsp2 + NUMWPNT - 1); /* highest point */114 *(wsp1 - 1) = (uint16_t)*(wsp2 - 1); /* lowest point */ 115 *(wsp1 + NUMWPNT) = (uint16_t)*(wsp2 + NUMWPNT - 1); /* highest point */ 116 116 117 117 #if DOUBLED … … 121 121 memcpyw(wsp1, wsp2, NUMWPNT); 122 122 123 *(wsp1 - 1) = *(wsp2 - 1); /* lowest point */124 *(wsp1 + NUMWPNT) = *(wsp2 + NUMWPNT - 1); /* highest point */123 *(wsp1 - 1) = (uint16_t)*(wsp2 - 1); /* lowest point */ 124 *(wsp1 + NUMWPNT) = (uint16_t)*(wsp2 + NUMWPNT - 1); /* highest point */ 125 125 #endif 126 126 … … 221 221 222 222 tv = (ov[j] >> 5) - 223 ( (((long)curdif *wdcurtb[k])223 (int16_t)((((int32_t)curdif * (int32_t)wdcurtb[k]) 224 224 + WCROUND) / WCSCALE); 225 225 … … 237 237 238 238 tv = (ov[j] >> 5) - 239 ( (((long)curdif *wdcurtb[k])239 (int16_t)((((int32_t)curdif * (int32_t)wdcurtb[k]) 240 240 + WCROUND) / WCSCALE); 241 241
Note:
See TracChangeset
for help on using the changeset viewer.