diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-08-08 20:03:12 +0300 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-08-08 20:03:12 +0300 |
| commit | 79bae9cd8a7891dd4545649fa196aad5a36237d2 (patch) | |
| tree | 1e59403522cbeeaa36c33ca34662f17c49866639 /src/ui.c | |
| parent | 22cbdd2fd645a5525a6ef0c9b8ee8ec11af9e9aa (diff) | |
Various documentations
Diffstat (limited to 'src/ui.c')
| -rw-r--r-- | src/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -198,7 +198,7 @@ void InitUI(bool32 keepHealthAndRupees) { gUnk_0200AF00.maxHealth = gSave.stats.maxHealth >> 1; LoadPaletteGroup(0xc); LoadGfxGroup(0x10); - MemClear(&gBG0Buffer, 0x800); + MemClear(&gBG0Buffer, sizeof(gBG0Buffer)); gScreen.bg0.tilemap = &gBG0Buffer; gScreen.bg0.control = 0x1f0c; gScreen.lcd.displayControl |= 0x100; |
