mirror of https://github.com/stella-emu/stella.git
A few fixes I missed in the last commits.
This commit is contained in:
parent
682a35bf72
commit
12fa260137
|
@ -1172,8 +1172,10 @@ int Thumbulator::execute()
|
|||
case 0xF:
|
||||
//swi
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue