X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=cochran.c;fp=cochran.c;h=e5beea9bcc6cf21da5b67620206061f9d599b8ef;hb=5bc3ba5e95e753c86d483d8adc0326e8a80c5797;hp=84bfcb96a775dff31f831536a990cd1dbb55ec13;hpb=e5d2bdc9ba6f6a160776717f244a05286831c1ed;p=ext%2Fsubsurface.git diff --git a/cochran.c b/cochran.c index 84bfcb9..e5beea9 100644 --- a/cochran.c +++ b/cochran.c @@ -146,7 +146,9 @@ static void parse_cochran_dive(const char *filename, int dive, * scrambled, but there seems to be size differences in the data, * so this just descrambles part of it: */ - partial_decode(0x48ff, size, decode, 0, mod, in, size, buf); + partial_decode(0x48ff, 0x4a14, decode, 0, mod, in, size, buf); + partial_decode(0x4a14, 0xc9bd, decode, 0, mod, in, size, buf); + partial_decode(0xc9bd, size, decode, 0, mod, in, size, buf); cochran_debug_write(filename, dive, buf, size);