1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 18:30:07 +00:00

Fix model tests.

This commit is contained in:
Thomas Harte 2022-10-25 22:36:00 -04:00
parent 46fee9c53a
commit 4e5a80e23a

View File

@ -487,7 +487,7 @@ template <typename Predecoder<model>::OpT op> uint32_t Predecoder<model>::invali
//
// 68010 additions.
//
if constexpr (model <= Model::M68010) {
if constexpr (model < Model::M68010) {
return InvalidOperands;
}
switch(op) {
@ -507,7 +507,7 @@ template <typename Predecoder<model>::OpT op> uint32_t Predecoder<model>::invali
//
// 68020 additions.
//
if constexpr (model <= Model::M68020) {
if constexpr (model < Model::M68020) {
return InvalidOperands;
}
switch(op) {