summaryrefslogtreecommitdiff
path: root/gb.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2018-06-27 19:41:03 -0400
committerPaul Duncan <pabs@pablotron.org>2018-06-27 19:41:03 -0400
commit3da68a59dffec91cb832d8b2f1d703ed2004f28f (patch)
tree5ac92eaffb733c0802cdff596d9af7735e5c5c91 /gb.h
parentfe4a419cfec6967fb6ffdb44005ccf202567bc7b (diff)
downloadgb-c-3da68a59dffec91cb832d8b2f1d703ed2004f28f.tar.bz2
gb-c-3da68a59dffec91cb832d8b2f1d703ed2004f28f.zip
add bg_get_tile(), bg_get_tile_addr(), and bg_get_color()
Diffstat (limited to 'gb.h')
-rw-r--r--gb.h3
1 files changed, 2 insertions, 1 deletions
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,