summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/chd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/chd.cpp')
-rw-r--r--src/lib/util/chd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util/chd.cpp b/src/lib/util/chd.cpp
index daad423147a..7d3e2c7c5c8 100644
--- a/src/lib/util/chd.cpp
+++ b/src/lib/util/chd.cpp
@@ -2218,6 +2218,7 @@ void chd_file::decompress_v5_map()
// pseudo-types; convert into base types
case COMPRESSION_SELF_1:
last_self++;
+ [[fallthrough]];
case COMPRESSION_SELF_0:
rawmap[0] = COMPRESSION_SELF;
offset = last_self;
@@ -2230,6 +2231,7 @@ void chd_file::decompress_v5_map()
case COMPRESSION_PARENT_1:
last_parent += m_hunkbytes / m_unitbytes;
+ [[fallthrough]];
case COMPRESSION_PARENT_0:
rawmap[0] = COMPRESSION_PARENT;
offset = last_parent;