Synch with BitField from dolphin master.