effect_position.c
changeset 777 92882ef2ab81
parent 737 d3fa63933df2
child 800 cc4aef7fef64
     1.1 --- a/effect_position.c	Mon Oct 16 02:16:47 2017 -0700
     1.2 +++ b/effect_position.c	Tue Oct 17 02:33:47 2017 -0700
     1.3 @@ -395,12 +395,12 @@
     1.4          *p = (d[l[(*p & 0xFF000000) >> 24]] << 24) |
     1.5               (d[r[(*p & 0x00FF0000) >> 16]] << 16) |
     1.6               (d[l[(*p & 0x0000FF00) >>  8]] <<  8) |
     1.7 -             (d[r[(*p & 0x000000FF)      ]]      ) ;
     1.8 +             (d[r[(*p & 0x000000FF)      ]]     ) ;
     1.9  #else
    1.10          *p = (d[r[(*p & 0xFF000000) >> 24]] << 24) |
    1.11               (d[l[(*p & 0x00FF0000) >> 16]] << 16) |
    1.12               (d[r[(*p & 0x0000FF00) >>  8]] <<  8) |
    1.13 -             (d[l[(*p & 0x000000FF)      ]]      ) ;
    1.14 +             (d[l[(*p & 0x000000FF)      ]]     ) ;
    1.15  #endif
    1.16          ++p;
    1.17      }
    1.18 @@ -586,12 +586,12 @@
    1.19          *p = (d[l[((Sint16)(Sint8)((*p & 0xFF000000) >> 24))+128]] << 24) |
    1.20               (d[r[((Sint16)(Sint8)((*p & 0x00FF0000) >> 16))+128]] << 16) |
    1.21               (d[l[((Sint16)(Sint8)((*p & 0x0000FF00) >>  8))+128]] <<  8) |
    1.22 -             (d[r[((Sint16)(Sint8)((*p & 0x000000FF)      ))+128]]      ) ;
    1.23 +             (d[r[((Sint16)(Sint8)((*p & 0x000000FF)     ))+128]]     ) ;
    1.24  #else
    1.25          *p = (d[r[((Sint16)(Sint8)((*p & 0xFF000000) >> 24))+128]] << 24) |
    1.26               (d[l[((Sint16)(Sint8)((*p & 0x00FF0000) >> 16))+128]] << 16) |
    1.27               (d[r[((Sint16)(Sint8)((*p & 0x0000FF00) >>  8))+128]] <<  8) |
    1.28 -             (d[l[((Sint16)(Sint8)((*p & 0x000000FF)      ))+128]]      ) ;
    1.29 +             (d[l[((Sint16)(Sint8)((*p & 0x000000FF)     ))+128]]     ) ;
    1.30  #endif
    1.31          ++p;
    1.32      }
    1.33 @@ -1875,7 +1875,7 @@
    1.34          angle = -angle;
    1.35              angle = angle * 90 / 128; /* Make it larger for more effect? */
    1.36          }
    1.37 -        return( Mix_SetPosition(channel, angle, 0) );
    1.38 +        return(Mix_SetPosition(channel, angle, 0));
    1.39      }
    1.40  
    1.41      f = get_position_effect_func(format, channels);
    1.42 @@ -2046,3 +2046,4 @@
    1.43  
    1.44  /* end of effects_position.c ... */
    1.45  
    1.46 +/* vi: set ts=4 sw=4 expandtab: */