temporary hack for DOSBox's handling of Mode X. the previous commit
broke mode-X dos games like DOOM and Wolfenstein 3D.