added 3dsx support

This adds 3dsx support
`u32 to_do = std::max(RELOCBUFSIZE, n_relocs)`