mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-12-21 18:29:22 +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 2 => c10(aaa, bbb)
|
||||
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…
Reference in New Issue
Block a user