mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-08-11 02:24:58 +00:00
Correcting FindFirstSet implementation corrects LR35902 interrupt issue (on blargg test)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -79,7 +79,7 @@ namespace EightBit
|
|||||||
{
|
{
|
||||||
if (bits[i])
|
if (bits[i])
|
||||||
{
|
{
|
||||||
return i + 1;
|
return i - 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user