diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-03-19 17:30:46 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-03-19 17:30:46 +0100 |
| commit | d5a9dd6ad464004e58af5159bb240a45f201d59c (patch) | |
| tree | 1798cb5e596ce182dba10c7fa8e997bf0fae1d1f /src | |
| parent | 723ba93169fbbb97ff829fc2d0bfabd6eaeb0676 (diff) | |
| download | jetpac.nes-d5a9dd6ad464004e58af5159bb240a45f201d59c.tar.gz jetpac.nes-d5a9dd6ad464004e58af5159bb240a45f201d59c.zip | |
reset: Read the PPU status before the first wait
That is, stick more closely to what the reference reset implementation
does.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/vectors.s | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
