aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-04-18 12:14:21 +0100
committerIan C <ianc@noddybox.co.uk>2016-04-18 12:14:21 +0100
commit5dfc8ddb515c17b7c61a6e56d3ce3c57f6da2622 (patch)
tree8670d146ac6c2c4ebdfce7c41857f9a5ed0b16b6 /src/state.h
parenta8131ea5ed00c11517c2cb605834eb103ecac250 (diff)
Fixed problem with zero page detection.
Zero page detection wasn't aggressive enough; by only doing the test on the last past, labels weren't being updated till the final pass.
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h
index 247124f..2f4d856 100644
--- a/src/state.h
+++ b/src/state.h
@@ -87,6 +87,11 @@ int IsIntermediatePass(void);
void SetNeededPasses(int n);
+/* Get current pass. Just used for debug.
+*/
+int GetCurrentPass(void);
+
+
/* Set the current PC
*/
void SetPC(int i);