From 1a74e6a1856673072a61abd0861759901bc2d939 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 10 Mar 2025 22:52:15 +0100 Subject: Bring code style to better standards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Be more careful on everything and try to follow along style.nes from my repository. This might change in the future, but it's in a much better state now. Signed-off-by: Miquel Sabaté Solà --- space/src/space.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'space/src/space.s') diff --git a/space/src/space.s b/space/src/space.s index 1d39e7a..4db273d 100644 --- a/space/src/space.s +++ b/space/src/space.s @@ -9,7 +9,6 @@ ;; ;; The subpixel movement is largely based on: ;; https://github.com/NesHacker/PlatformerMovement. -;;; .segment "HEADER" .byte 'N', 'E', 'S', $1A @@ -77,10 +76,10 @@ jsr Bullets::update ;; This is a hand-shake between the code on `main` and the code on the - ;; `nmi`. See Game::flags for more. + ;; `nmi`. See Game::zp_flags for more. SET_RENDER_FLAG @wait_for_render: - bit Game::flags + bit Game::zp_flags bmi @wait_for_render ;; Rendering is done, we can perform another iteration of the loop! -- cgit v1.2.3