diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-04-18 12:14:21 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-04-18 12:14:21 +0100 |
commit | 5dfc8ddb515c17b7c61a6e56d3ce3c57f6da2622 (patch) | |
tree | 8670d146ac6c2c4ebdfce7c41857f9a5ed0b16b6 /src/state.h | |
parent | a8131ea5ed00c11517c2cb605834eb103ecac250 (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.h | 5 |
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); |