mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-02-07 22:31:10 +00:00
correct exhaustive case location
This commit is contained in:
parent
e89beb5845
commit
5dc8d894fa
@ -247,8 +247,8 @@ object MatchOpcodes {
|
|||||||
case 1 => c01(aaa, bbb)
|
case 1 => c01(aaa, bbb)
|
||||||
case 2 => c10(aaa, bbb)
|
case 2 => c10(aaa, bbb)
|
||||||
case 3 => None
|
case 3 => None
|
||||||
case _ => throw new IllegalStateException("two bits did not result in two-bit number")
|
|
||||||
}
|
}
|
||||||
|
case _ => throw new IllegalStateException("an int should always have bits to find")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user