updated makefile

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2023-11-20 16:56:49 +01:00
parent 14b3c286e2
commit 7c440e4523
6 changed files with 30 additions and 28 deletions

View File

@@ -1,7 +1,13 @@
#include <gb/gb.h>
#include <stdint.h>
#include "splash_screen.h"
#define TILEMAP_WIDTH_IN_TILES (splash_screen_WIDTH >> 3)
#define TILEMAP_HEIGHT_IN_TILES (splash_screen_HEIGHT >> 3)
void main()
{
///
SHOW_BKG;
set_bkg_data(0, splash_screen_TILE_COUNT, splash_screen_tiles);
set_bkg_tiles(0, 0, TILEMAP_WIDTH_IN_TILES, TILEMAP_HEIGHT_IN_TILES, splash_screen_map);
}