summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-12 02:23:48 +0100
committertwinaphex2014-12-12 02:23:48 +0100
commitbedf50b36f454ee2ed1aef2e2b3688def214a394 (patch)
tree562f5f9b6daee25702378c0f2e6608ce00c23450
parente83651639f1c237b32246ac743dfb1a298b33ea3 (diff)
downloadpicogpsp-bedf50b36f454ee2ed1aef2e2b3688def214a394.tar.gz
picogpsp-bedf50b36f454ee2ed1aef2e2b3688def214a394.tar.bz2
picogpsp-bedf50b36f454ee2ed1aef2e2b3688def214a394.zip
Another 64bit fix - vertical_pixel_flip needs to be of type s32
-rw-r--r--video.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/video.c b/video.c
index 5d83dfd..45ebe1e 100644
--- a/video.c
+++ b/video.c
@@ -931,7 +931,7 @@ static void render_scanline_text_base_normal(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_8bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_8bpp - tile_width_8bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
@@ -995,7 +995,7 @@ static void render_scanline_text_base_normal(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_4bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_4bpp - tile_width_4bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
@@ -1119,7 +1119,7 @@ static void render_scanline_text_transparent_normal(u32 layer,
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_8bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_8bpp - tile_width_8bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_8bpp();
@@ -1182,7 +1182,7 @@ static void render_scanline_text_transparent_normal(u32 layer,
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_4bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_4bpp - tile_width_4bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_4bpp();
@@ -1304,7 +1304,7 @@ static void render_scanline_text_base_color16(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_8bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_8bpp - tile_width_8bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_8bpp();
@@ -1366,7 +1366,7 @@ static void render_scanline_text_base_color16(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_4bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_4bpp - tile_width_4bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_4bpp();
@@ -1489,7 +1489,7 @@ static void render_scanline_text_transparent_color16(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_8bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_8bpp - tile_width_8bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_8bpp();
@@ -1551,7 +1551,7 @@ static void render_scanline_text_transparent_color16(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_4bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_4bpp - tile_width_4bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_4bpp();
@@ -1674,7 +1674,7 @@ static void render_scanline_text_base_color32(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_8bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_8bpp - tile_width_8bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_8bpp();
@@ -1736,7 +1736,7 @@ static void render_scanline_text_base_color32(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_4bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_4bpp - tile_width_4bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_4bpp();
@@ -1859,7 +1859,7 @@ static void render_scanline_text_transparent_color32(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_8bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_8bpp - tile_width_8bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_8bpp();
@@ -1923,7 +1923,7 @@ static void render_scanline_text_transparent_color32(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_4bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_4bpp - tile_width_4bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_4bpp();
@@ -2046,7 +2046,7 @@ static void render_scanline_text_base_alpha(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_8bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_8bpp - tile_width_8bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_8bpp();
@@ -2108,7 +2108,7 @@ static void render_scanline_text_base_alpha(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_4bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_4bpp - tile_width_4bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_4bpp();
@@ -2229,7 +2229,7 @@ static void render_scanline_text_transparent_alpha(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_8bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_8bpp - tile_width_8bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_8bpp();
@@ -2291,7 +2291,7 @@ static void render_scanline_text_transparent_alpha(u32 layer,
/* Render a single scanline of text tiles */
u32 vertical_pixel_offset = (vertical_offset % 8) *
tile_width_4bpp;
- u32 vertical_pixel_flip =
+ s32 vertical_pixel_flip =
((tile_size_4bpp - tile_width_4bpp) -
vertical_pixel_offset) - vertical_pixel_offset;
tile_extra_variables_4bpp();