mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Merge pull request #8169 from lioncash/fallthrough
Core/GeckoCodeConfig: Use the [[fallthrough]] attribute in LoadCodes()
This commit is contained in:
commit
79ea55c912
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ std::vector<GeckoCode> LoadCodes(const IniFile& globalIni, const IniFile& localI
|
||||||
// enabled or disabled code
|
// enabled or disabled code
|
||||||
case '+':
|
case '+':
|
||||||
ss.seekg(1);
|
ss.seekg(1);
|
||||||
|
[[fallthrough]];
|
||||||
case '$':
|
case '$':
|
||||||
if (!gcode.name.empty())
|
if (!gcode.name.empty())
|
||||||
gcodes.push_back(gcode);
|
gcodes.push_back(gcode);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue