Merge pull request #12523 from lioncash/fallthrough

Core: Get rid of some unannotated fallthrough cases
This commit is contained in:
Admiral H. Curtiss 2024-01-24 18:40:32 +01:00 committed by GitHub
commit 2826099808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -344,10 +344,10 @@ void CEXIAgp::ImmWrite(u32 _uData, u32 _uSize)
case 0xAE010000:
case 0xAE090000: // start DMA
m_eeprom_write_status = false; // ToDo: Verify with hardware which commands disable EEPROM CS
// Fall-through intentional
[[fallthrough]];
case 0xAE0A0000: // end DMA
m_eeprom_pos = 0;
// Fall-through intentional
[[fallthrough]];
default:
m_current_cmd = _uData;
m_return_pos = 0;

View File

@ -419,6 +419,7 @@ bool Wiimote::IsBalanceBoard()
"Failed to read from 0xa400fe, assuming Wiimote is not a Balance Board.");
return false;
}
break;
}
default:
break;