A few fixes I missed in the last commits.

This commit is contained in:
Stephen Anthony 2019-12-28 15:01:28 -03:30
parent 682a35bf72
commit 12fa260137
2 changed files with 4 additions and 2 deletions

View File

@ -1172,8 +1172,10 @@ int Thumbulator::execute()
case 0xF:
//swi
break;
}
default:
break;
}
break;
}

View File

@ -143,7 +143,7 @@ void Missile::toggleEnabled(bool enabled)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Missile::nusiz(uInt8 value)
{
static constexpr uInt8 ourWidths[] = { 1, 2, 4, 8 };
static constexpr std::array<uInt8, 4> ourWidths = { 1, 2, 4, 8 };
myDecodesOffset = value & 0x07;
myWidth = ourWidths[(value & 0x30) >> 4];