add adapter handling for HiROM