HW: cleanup warnings of -Wtype-limits
ROM_BASE is 0, and address is unsigned. It is always true that address >= 0. So just compare with ROM_SIZE and don't use IN_RANGE macro to avoid the warning.
This commit is contained in:
parent
62707986b7
commit
3f72bc3e7e
|
@ -314,7 +314,7 @@ void CEXIIPL::TransferByte(u8& data)
|
|||
}
|
||||
};
|
||||
|
||||
if (IN_RANGE(ROM))
|
||||
if (address < ROM_BASE + ROM_SIZE)
|
||||
{
|
||||
if (!m_command.is_write())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue