From 3da68a59dffec91cb832d8b2f1d703ed2004f28f Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 27 Jun 2018 19:41:03 -0400 Subject: add bg_get_tile(), bg_get_tile_addr(), and bg_get_color() --- gb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gb.h') diff --git a/gb.h b/gb.h index e027ee7..358c1f2 100644 --- a/gb.h +++ b/gb.h @@ -124,7 +124,8 @@ struct gb_t_ { uint32_t frame; struct { - uint8_t x, y, tile; + int16_t x, y; + uint8_t tile; bool priority, y_flip, x_flip, -- cgit v1.2.3