mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-08-05 21:25:12 +00:00
Correct some EightBit project analysis warnings.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ void EightBit::GameBoy::IoRegisters::Bus_ReadingByte(EightBit::EventArgs) {
|
||||
auto upOrSelect = (live && !m_p12) ? 0 : Chip::Bit2;
|
||||
auto downOrStart = (live && !m_p13) ? 0 : Chip::Bit3;
|
||||
auto lowNibble = rightOrA | leftOrB | upOrSelect | downOrStart;
|
||||
auto highNibble = Chip::promoteNibble(Chip::Mask4);
|
||||
constexpr auto highNibble = Chip::promoteNibble(Chip::Mask4);
|
||||
auto value = lowNibble | highNibble;
|
||||
poke(port, lowNibble | highNibble);
|
||||
}
|
||||
|
Reference in New Issue
Block a user