- Timestamp:
- 11/12/2017 10:13:37 PM (7 years ago)
- Branches:
- master
- Children:
- f806726
- Parents:
- ba51a45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/smscrl.c
rba51a45 rfb926d1 172 172 173 173 if (OldLine NE LineBuf) 174 v_odtab[ScrlObj][2] = ( (int32_t)LineBuf >> 1) & 0xFFFF;174 v_odtab[ScrlObj][2] = (uint16_t)((int32_t)LineBuf >> 1); 175 175 176 176 OldLine = LineBuf; 177 177 178 v_odtab[ScrlObj][0] = (v_odtab[ScrlObj][0] & 0x0FFF) | ( scan << 12);178 v_odtab[ScrlObj][0] = (v_odtab[ScrlObj][0] & 0x0FFF) | (uint16_t)(scan << 12); 179 179 } 180 180
Note:
See TracChangeset
for help on using the changeset viewer.