aboutsummaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index 27225e5..83eea97 100644
--- a/src/state.c
+++ b/src/state.c
@@ -23,6 +23,7 @@
*/
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include "global.h"
@@ -174,6 +175,12 @@ void SetNeededPasses(int n)
}
+int GetCurrentPass(void)
+{
+ return pass;
+}
+
+
void SetAddressBank(unsigned b)
{
currbank = b;