Changeset f798356 in buchla-68k for ram/gcurpos.c


Ignore:
Timestamp:
11/12/2017 08:21:00 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
de91266
Parents:
f70aaad
Message:

Fixed gcurpos.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/gcurpos.c

    rf70aaad rf798356  
    247247        op->objy = yloc + yo;
    248248        op->obase = arrows[ab + (xloc & 0x0001)];
    249         op->odtw1 = 0x0400 | (0x03FF & (op->objx >> 1));
     249        op->odtw1 = (uint16_t)(0x0400 | (0x03FF & (op->objx >> 1)));
    250250
    251251        SetPri(GCURS, GCPRI);
     
    276276*/
    277277
    278 void arcurs(uint16_t icolor)
    279 {
    280         register int16_t color;
     278void arcurs(int16_t icolor)
     279{
     280        uint16_t color;
    281281
    282282        color = exp_c(icolor);
Note: See TracChangeset for help on using the changeset viewer.