Changeset 8c8b4e5 in buchla-68k for vlib/vbfill4.c


Ignore:
Timestamp:
09/17/2017 05:01:10 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
432327d
Parents:
5c4721b
Message:

More volatile hardware accesses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlib/vbfill4.c

    r5c4721b r8c8b4e5  
    2727};
    2828
    29 void vbfill4(uint16_t *obj, int16_t obwidth, int16_t xmin, int16_t ymin, int16_t xmax, int16_t ymax, uint16_t color)
     29void vbfill4(volatile uint16_t *obj, int16_t obwidth, int16_t xmin, int16_t ymin, int16_t xmax, int16_t ymax, uint16_t color)
    3030{
    3131        int16_t mw, nl, width;
    3232
    33         register uint16_t *fwp, *wp;
    34 
    35         register uint16_t lmask, rmask;
    36         register int16_t i, j;
     33        volatile uint16_t *fwp, *wp;
     34
     35        uint16_t lmask, rmask;
     36        int16_t i, j;
    3737
    3838        fwp = obj + (int32_t)(xmin >> 2) + ((int32_t)ymin * obwidth);
Note: See TracChangeset for help on using the changeset viewer.