mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Merge pull request #8078 from JosJuice/fallthrough
Use [[fallthrough]] in DiscExtractor
This commit is contained in:
commit
4fdd403562
@ -33,7 +33,7 @@ std::string NameForPartitionType(u32 partition_type, bool include_prefix)
|
|||||||
// wit doesn't recognize the name "INSTALL", so we can't use it when naming partition folders
|
// wit doesn't recognize the name "INSTALL", so we can't use it when naming partition folders
|
||||||
if (!include_prefix)
|
if (!include_prefix)
|
||||||
return "INSTALL";
|
return "INSTALL";
|
||||||
// [[fallthrough]]
|
[[fallthrough]];
|
||||||
default:
|
default:
|
||||||
const std::string type_as_game_id{static_cast<char>((partition_type >> 24) & 0xFF),
|
const std::string type_as_game_id{static_cast<char>((partition_type >> 24) & 0xFF),
|
||||||
static_cast<char>((partition_type >> 16) & 0xFF),
|
static_cast<char>((partition_type >> 16) & 0xFF),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user