Correcting FindFirstSet implementation corrects LR35902 interrupt issue (on blargg test)

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-07-27 21:45:20 +01:00
parent 24934729c2
commit 8fba82063a

View File

@ -79,7 +79,7 @@ namespace EightBit
{
if (bits[i])
{
return i + 1;
return i - 1;
}
}