mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-03 00:29:38 +00:00
Subtract 0x400 for the correct offset
This commit is contained in:
parent
e868718f31
commit
97865e9589
@ -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];
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user