Fix console for BIG

This commit is contained in:
otya128 committed 2016-12-10 17:02:17 +09:00
1 parent 1a6332d830
commit 92e5f3abc4
3 files changed
+170 -255

No files matched your search

+1 -1
View File
@@ -1418,7 +1418,7 @@ class BuiltinFunction
}
static int CHKCHR(PetitComputer p, int x, int y)
{
return cast(int)(p.console.console[y][x].character);
return cast(int)(p.console.console[p.displaynum][y][x].character);
}
struct FixedBuffer(T, size_t S)
{