added 3dsx support

This adds 3dsx support
it is the same as in elf.h just with THREEDSX