Make one small tweak to Famicom Basic keyboard based on the current state of the NESDEV docs, don't know if it's correct

This commit is contained in:
nattthebear 2016-10-31 19:08:31 -04:00
parent b24d341b14
commit 88589cb59b
1 changed files with 2 additions and 2 deletions

View File

@ -881,13 +881,13 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
{
active = s.OUT2 != 0;
column = s.OUT1;
if (s.OUT1 > s.OUT1old)
if (s.OUT1 < s.OUT1old)
{
row++;
if (row == 10)
row = 0;
}
if (s.OUT0 != 0) // should this be edge triggered?
if (s.OUT0 != 0)
row = 0;
}