From c68759443fd3d9c1cdd46216b27abd1af85b3f56 Mon Sep 17 00:00:00 2001 From: rzru <91018799+rzru@users.noreply.github.com> Date: Wed, 2 Nov 2022 16:56:32 +0100 Subject: [PATCH] :bug: fix OBJ_PALETTE mem address (#174) --- src/mmio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mmio.rs b/src/mmio.rs index 9a1c878..0433b73 100644 --- a/src/mmio.rs +++ b/src/mmio.rs @@ -210,7 +210,7 @@ def_mmio!(0x04FF_F780 = MGBA_LOG_ENABLE: VolAddress; "Allows yo def_mmio!(0x0500_0000 = BACKDROP_COLOR: VolAddress; "Color that's shown when no BG or OBJ draws to a pixel"); def_mmio!(0x0500_0000 = BG_PALETTE: VolBlock; "Background tile palette entries."); -def_mmio!(0x0500_2000 = OBJ_PALETTE: VolBlock; "Object tile palette entries."); +def_mmio!(0x0500_0200 = OBJ_PALETTE: VolBlock; "Object tile palette entries."); // Video RAM (VRAM)