git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit dd85665d1caeadde130db5765b8f245a0085140f
parent 0d3278bf5cad68b5933f5ec8d2a967d715d2abd4
Author: bbbbbr <reg+github@roughhousing.com>
Date:   Wed,  8 Sep 2021 17:21:56 -0700

Merge pull request #250 from bbbbbr/examples_update_incbin_name

Examples: Update to new INCBIN_SIZE() name
Diffstat:
Mgbdk-lib/examples/cross-platform/incbin/src/main.c4++--
Mgbdk-lib/examples/gb/incbin/src/main.c4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gbdk-lib/examples/cross-platform/incbin/src/main.c b/gbdk-lib/examples/cross-platform/incbin/src/main.c @@ -32,9 +32,9 @@ void init_gfx() { // Load logo background tiles and map // They start at 0u - set_bkg_data(0u, SIZE(logo_tiles_data) / TILE_BYTES, logo_tiles_data); + set_bkg_data(0u, INCBIN_SIZE(logo_tiles_data) / TILE_BYTES, logo_tiles_data); set_bkg_tiles(LOGO_MAP_X, LOGO_MAP_Y, - LOGO_MAP_WIDTH, LOGO_MAP_HEIGHT, + LOGO_MAP_WIDTH, LOGO_MAP_HEIGHT, logo_map); // Turn the background map on to make it visible diff --git a/gbdk-lib/examples/gb/incbin/src/main.c b/gbdk-lib/examples/gb/incbin/src/main.c @@ -32,9 +32,9 @@ void init_gfx() { // Load logo background tiles and map // They start at 0u - set_bkg_data(0u, SIZE(logo_tiles_data) / TILE_BYTES, logo_tiles_data); + set_bkg_data(0u, INCBIN_SIZE(logo_tiles_data) / TILE_BYTES, logo_tiles_data); set_bkg_tiles(LOGO_MAP_X, LOGO_MAP_Y, - LOGO_MAP_WIDTH, LOGO_MAP_HEIGHT, + LOGO_MAP_WIDTH, LOGO_MAP_HEIGHT, logo_map); // Turn the background map on to make it visible

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.