1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-07 23:25:00 +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. // 68010 additions.
// //
if constexpr (model <= Model::M68010) { if constexpr (model < Model::M68010) {
return InvalidOperands; return InvalidOperands;
} }
switch(op) { switch(op) {
@@ -507,7 +507,7 @@ template <typename Predecoder<model>::OpT op> uint32_t Predecoder<model>::invali
// //
// 68020 additions. // 68020 additions.
// //
if constexpr (model <= Model::M68020) { if constexpr (model < Model::M68020) {
return InvalidOperands; return InvalidOperands;
} }
switch(op) { switch(op) {