Move parenthesis before the shift.

This commit is contained in:
riccardom 2009-04-30 16:51:59 +00:00
parent 9abd38ff8e
commit be5cc2152c
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ static inline void gpu_screen_to_rgb(u8 * rgb, int size)
for (int i = 0; i < 256; i++) {
for (int j = 0; j < 384; j++) {
gpu_pixel = *((u16 *) & GPU_screen[(i + j * 256 << 1)]);
gpu_pixel = *((u16 *) & GPU_screen[(i + j * 256) << 1]);
u32 offset;
if(rot == 0 || rot == 180)
offset = i * 3 + j * 3 * 256;