aboutsummaryrefslogtreecommitdiff
path: root/basics/unrom.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-03-20 18:01:34 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-03-20 18:01:34 +0100
commitb21e3d2588749568c777a84435905bef110f3479 (patch)
tree957615ee80680a21abcbe67427455f946fdf9486 /basics/unrom.s
parent49842414e2c570c511ef5c3c9e1860ee8d2fd504 (diff)
downloadcode.nes-b21e3d2588749568c777a84435905bef110f3479.tar.gz
code.nes-b21e3d2588749568c777a84435905bef110f3479.zip
Clear VBlank on reset on all examples
This was an oversight from the very first example that has propagated into the other ones. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'basics/unrom.s')
-rw-r--r--basics/unrom.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/basics/unrom.s b/basics/unrom.s
index eb49b17..60b52d6 100644
--- a/basics/unrom.s
+++ b/basics/unrom.s
@@ -139,6 +139,7 @@ bankswitch_nosave:
stx $2001
stx $4010
+ bit $2002
@vblankwait1:
bit $2002
bpl @vblankwait1