summaryrefslogtreecommitdiff
path: root/src/common.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 14:59:48 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 15:01:44 +0100
commitaced0bef691dbc41bdd39b6e62662d2436877a4b (patch)
treee90f9fd8e4c4c3471c2fb246bb1372974294b469 /src/common.c
parentc3b771a20923b335bbea2ab97a68ac29d04fcc43 (diff)
Rename metaTiles
Now the 16x16 tiles are just called tiles and the 8x8 tiles are called subTiles.
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common.c b/src/common.c
index 4647c6b3..8c863d85 100644
--- a/src/common.c
+++ b/src/common.c
@@ -503,13 +503,13 @@ void ClearOAM(void) {
void ResetScreenRegs(void) {
MemClear(&gScreen, sizeof(gScreen));
- gScreen.bg0.tilemap = &gBG0Buffer;
+ gScreen.bg0.subTileMap = &gBG0Buffer;
gScreen.bg0.control = 0x1F0C;
- gScreen.bg1.tilemap = &gBG1Buffer;
+ gScreen.bg1.subTileMap = &gBG1Buffer;
gScreen.bg1.control = 0x1C01;
- gScreen.bg2.tilemap = &gBG2Buffer;
+ gScreen.bg2.subTileMap = &gBG2Buffer;
gScreen.bg2.control = 0x1D02;
- gScreen.bg3.tilemap = &gBG3Buffer;
+ gScreen.bg3.subTileMap = &gBG3Buffer;
gScreen.bg3.control = 0x1E03;
gScreen.lcd.displayControl = 0x140;
gScreen.lcd.displayControlMask = 0xffff;