From d5a9dd6ad464004e58af5159bb240a45f201d59c Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 19 Mar 2025 17:30:46 +0100 Subject: reset: Read the PPU status before the first wait MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That is, stick more closely to what the reference reset implementation does. Signed-off-by: Miquel Sabaté Solà --- src/vectors.s | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/vectors.s b/src/vectors.s index b404d98..f4c515c 100644 --- a/src/vectors.s +++ b/src/vectors.s @@ -19,6 +19,7 @@ stx PPU::MASK stx APU::DMC + bit PPU::STATUS @vblankwait1: bit PPU::STATUS bpl @vblankwait1 -- cgit v1.2.3