Changeset 7c5def4 in buchla-68k for ram/instdsp.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/instdsp.c

    r2ff1367 r7c5def4  
    431431*/
    432432
    433 void pltws(uint16_t ws[], int16_t pen)
     433void pltws(int16_t ws[], int16_t pen)
    434434{
    435435        register int16_t i, x, y;
     
    438438
    439439                x = 382 + (i >> 1);
    440                 y = 348 - (int16_t)((ws[i] ^ 0x8000) / 676);
     440                y = 348 - (int16_t)(((uint16_t)ws[i] ^ 0x8000) / 676);
    441441
    442442                idpoint(x, y, pen);
Note: See TracChangeset for help on using the changeset viewer.