Changeset 7c5def4 in buchla-68k for ram/showcfg.c


Ignore:
Timestamp:
11/15/2017 06:13:13 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
72741f4
Parents:
2ff1367
Message:

Minor fixes and cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/showcfg.c

    r2ff1367 r7c5def4  
    368368void dispws(int16_t ws)
    369369{
    370         register uint16_t *wsp;
     370        register int16_t *wsp;
    371371        register int16_t i, x, y;
    372372        int8_t buf[64];
     
    385385
    386386                x = LftEdge + (i >> 1);
    387                 y = BotEdge - (int16_t)((wsp[i] ^ 0x8000) / 676);
     387                y = BotEdge - (int16_t)(((uint16_t)wsp[i] ^ 0x8000) / 676);
    388388
    389389                idpoint(x, y, WSBFC);
Note: See TracChangeset for help on using the changeset viewer.