aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-04-03 19:02:10 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-04-03 19:02:10 +0200
commitb7c591c930ae74998463435e6f05d3312cfd1c8f (patch)
tree8a2ff0ceceae81001ac28697be44fb9e68911af5 /include
parentcd7e197eeb22f6e8407759c93e686debc23c550c (diff)
downloadjetpac.nes-b7c591c930ae74998463435e6f05d3312cfd1c8f.tar.gz
jetpac.nes-b7c591c930ae74998463435e6f05d3312cfd1c8f.zip
Add the ability to pause the game
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/globals.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/globals.s b/include/globals.s
index 35665f7..395df61 100644
--- a/include/globals.s
+++ b/include/globals.s
@@ -29,7 +29,8 @@
;; |-----+------------+-------------------------------------------------------------|
;; | 7 | render | Game logic is over, block main code until NMI code is over. |
;; | 6 | ppu | PPU registers have to be touched |
- ;; | 5-3 | - | Unused |
+ ;; | 5-4 | - | Unused |
+ ;; | 3 | paused | Game is in pause state |
;; | 2 | title over | We are transitioning from title to game |
;; | 1-0 | game | 0: title; 1: game; 2: game over, 3: game over (coin) |
zp_flags = $20