gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 01684f4166e5751aa1447ef138d5ff5a25a2d4c8 parent 97478a17e4bef2f1aabf300f3bb968ebdf8ddf7c Author: Toxa <untoxa@mail.ru> Date: Thu, 11 Jan 2024 18:32:04 +0300 EXAMPLES: remove redundant set_bkg_attributes() call in the logo example for the SMS target Diffstat:
| M | gbdk-lib/examples/cross-platform/logo/src/main.c | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/examples/cross-platform/logo/src/main.c b/gbdk-lib/examples/cross-platform/logo/src/main.c @@ -17,11 +17,13 @@ void main(void) { #endif set_bkg_native_data(0, GBDK_2020_logo_TILE_COUNT, GBDK_2020_logo_tiles); +#if !defined(SYSTEM_SEGA) set_bkg_attributes((DEVICE_SCREEN_WIDTH - (GBDK_2020_logo_WIDTH >> 3)) >> 1, (DEVICE_SCREEN_HEIGHT - (GBDK_2020_logo_HEIGHT >> 3)) >> 1, GBDK_2020_logo_WIDTH >> 3, GBDK_2020_logo_HEIGHT >> 3, GBDK_2020_logo_map_attributes); +#endif set_tile_map((DEVICE_SCREEN_WIDTH - (GBDK_2020_logo_WIDTH >> 3)) >> 1, (DEVICE_SCREEN_HEIGHT - (GBDK_2020_logo_HEIGHT >> 3)) >> 1, GBDK_2020_logo_WIDTH >> 3,
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.