From 74b1003ab8abad2f8220de4f2f18a3b118f23f01 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 10 Dec 2025 14:41:35 +0100 Subject: Adapt the code to play well with nasm's asan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The address sanitizer from nasm provides quite a few goodies, so let's adapt the code more to it to benefit from those. Signed-off-by: Miquel Sabaté Solà --- include/ppu.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/ppu.s') diff --git a/include/ppu.s b/include/ppu.s index a9c0ed2..7882809 100644 --- a/include/ppu.s +++ b/include/ppu.s @@ -1,10 +1,10 @@ .scope PPU - CONTROL = $2000 - MASK = $2001 - STATUS = $2002 - SCROLL = $2005 - ADDRESS = $2006 - DATA = $2007 + m_control = $2000 + m_mask = $2001 + m_status = $2002 + m_scroll = $2005 + m_address = $2006 + m_data = $2007 ;; Shadow for the PPU::CONTROL value. Touch this value instead of accessing ;; the PPU register directly. -- cgit v1.2.3