1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-09-28 04:57:44 +00:00

Subtract 0x400 for the correct offset

This commit is contained in:
Peter Evans 2018-03-12 00:32:42 -05:00
parent e868718f31
commit 97865e9589

View File

@ -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];
}
/*