mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-02 07:28:56 +00:00
Correct int/bool cast warning
Signed-off-by: Adrian.Conlon <adrian.conlon@arup.com>
This commit is contained in:
parent
531d5d6d6b
commit
a4cdc2bcb5
@ -80,7 +80,7 @@ void EightBit::GameBoy::Bus::Bus_ReadingByte(const uint16_t address) {
|
||||
auto p12 = live && !m_p12;
|
||||
auto p13 = live && !m_p13;
|
||||
pokeRegister(P1,
|
||||
(int)!p10
|
||||
((int)!p10)
|
||||
| ((int)!p11 << 1)
|
||||
| ((int)!p12 << 2)
|
||||
| ((int)!p13 << 3)
|
||||
|
Loading…
Reference in New Issue
Block a user