aboutsummaryrefslogtreecommitdiff
path: root/src/driver.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-07-08 09:31:14 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-07-08 09:34:52 +0200
commit6ee6c7512bdbc836642dfdd607854faced55dfc3 (patch)
tree3b8ca9c553e812ab9c9ddc8a94d80db9374bd3da /src/driver.s
parentda6f2c70174219f61d0498bdd4325b7a8842a1fa (diff)
downloadjetpac.nes-6ee6c7512bdbc836642dfdd607854faced55dfc3.tar.gz
jetpac.nes-6ee6c7512bdbc836642dfdd607854faced55dfc3.zip
Remove unused labels
Since commit 6a9dea943c07 ("Add a new 'check' stage in assemble()"), nasm is now able to detect unused labels. This was then tried on this repository the cleanup labels which were never used. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/driver.s')
-rw-r--r--src/driver.s5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/driver.s b/src/driver.s
index 4e54e8c..cf0fc43 100644
--- a/src/driver.s
+++ b/src/driver.s
@@ -8,7 +8,7 @@
;; never conflict with each other.
zp_player_timer = $30 ; asan:ignore
PLAYER_TIMER_FULL_VALUE = HZ * 3
- PLAYER_TIMER_DEV_VALUE = HZ / 4
+ PLAYER_TIMER_DEV_VALUE = HZ / 4 ; asan:ignore
.ifdef PARTIAL
PLAYER_TIMER_VALUE = PLAYER_TIMER_DEV_VALUE
.else
@@ -498,7 +498,6 @@
cpx zp_first_bullet
beq @next_bullet
- @do_bullet:
;; Ok, so the bullet has not been allocated yet and we have space for
;; it. Is it valid?
lda Bullets::zp_pool_base, x
@@ -554,7 +553,6 @@
cpx zp_first_enemy
beq @next_enemy
- @do_enemy:
;; Ok, so the enemy has not been allocated yet and we have space for
;; it. Is it valid?
lda Enemies::zp_pool_base, x
@@ -582,7 +580,6 @@
cpx #Explosions::EXPLOSIONS_POOL_CAPACITY_BYTES
beq @after_explosions
- @do_explosion:
;; Is it valid?
lda Explosions::zp_pool_base, x
and #$80