aboutsummaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index 0e47a05..8a8d227 100644
--- a/src/state.c
+++ b/src/state.c
@@ -188,6 +188,12 @@ void SetAddressBank(unsigned b)
}
+unsigned Bank(void)
+{
+ return currbank;
+}
+
+
void SetWordMode(WordMode mode)
{
wmode = mode;