Add BSP2 support to the remaining utils. Since these share the common bspfile.[ch] files, it was more effort than is justifiable to break this into multiple staged patches - so you just get this disgustingly big commit instead. Here is basically what was done: * Modify the bspdata_t struct with a union of the two bsp formats * Modify the tools to use bsp2_t for all internal processing * Split out the byte swapping routines for the different bsp data types * Add simple (although verbose) code to convert bsp29 <-> bsp2 Hundreds of lines added to bspfile.c, but mostly trivial stuff. The tools internally had little modification except to substitute the bsp2 type names. Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net> |
||
|---|---|---|
| .. | ||
| bsputil.c | ||