From 97865e95890e03d8834d7f8354e414bc45faba9a Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Mon, 12 Mar 2018 00:32:42 -0500 Subject: [PATCH] Subtract 0x400 for the correct offset --- src/apple2.text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apple2.text.c b/src/apple2.text.c index 43aa317..9dfaf68 100644 --- a/src/apple2.text.c +++ b/src/apple2.text.c @@ -231,7 +231,7 @@ static char alternate_display[] = { int apple2_text_row(size_t addr) { - return buffer_rows[addr]; + return buffer_rows[addr - 0x400]; } /* @@ -240,7 +240,7 @@ apple2_text_row(size_t addr) int apple2_text_col(size_t addr) { - return buffer_cols[addr]; + return buffer_cols[addr - 0x400]; } /*