From 21c703def1ccf70516bc788061b75cdaebc55954 Mon Sep 17 00:00:00 2001 From: jeffman Date: Sat, 15 Apr 2017 13:31:53 -0400 Subject: [PATCH] Made argument types more consistent --- compiled/vwf.c | 2 +- compiled/vwf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiled/vwf.c b/compiled/vwf.c index 6967bbb..c9e4cfc 100644 --- a/compiled/vwf.c +++ b/compiled/vwf.c @@ -44,7 +44,7 @@ byte reduce_bit_depth(int row, int foreground) return lower | (upper << 4); } -byte print_character(byte chr, byte x, byte y, byte font, byte foreground) +byte print_character(byte chr, int x, int y, int font, int foreground) { return print_character_with_callback(chr, x, y, font, foreground, vram, &get_tile_number_with_offset, TRUE); } diff --git a/compiled/vwf.h b/compiled/vwf.h index 37486a2..ff1777d 100644 --- a/compiled/vwf.h +++ b/compiled/vwf.h @@ -13,7 +13,7 @@ byte decode_character(byte chr); int get_tile_number(int x, int y); int expand_bit_depth(byte row, int foreground); byte reduce_bit_depth(int row, int foreground); -byte print_character(byte chr, byte x, byte y, byte font, byte foreground); +byte print_character(byte chr, int x, int y, int font, int foreground); byte print_character_with_callback(byte chr, int x, int y, int font, int foreground, int *dest, int (*getTileCallback)(int, int), int useTilemap); byte print_character_to_ram(byte chr, int *dest, int xOffset, int font, int foreground);