summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-04-20 17:36:49 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-20 10:55:19 -0700
commit0bce84b09d89dc2f0105e2aabcee5b53a734162f (patch)
treea175450dc4438f947a52fd572bf6b39277c56532 /core
parentb81fdbe1c7809e97efb4320e1c6cf806dc613a66 (diff)
downloadsubsurface-0bce84b09d89dc2f0105e2aabcee5b53a734162f.tar.gz
Support for new DM5 blob format
Currently we do not know what the extra data in the sampleBlob is, but the block size must be adjusted nevertheless. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/parse-xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index d1cfc88ed..75fa49df2 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -2469,6 +2469,9 @@ extern int dm5_dive(void *param, int columns, char **data, char **column)
case 3:
block_size = 23;
break;
+ case 4:
+ block_size = 26;
+ break;
default:
block_size = 16;
break;