mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Merge pull request #12523 from lioncash/fallthrough
Core: Get rid of some unannotated fallthrough cases
This commit is contained in:
commit
2826099808
2 changed files with 3 additions and 2 deletions
|
@ -344,10 +344,10 @@ void CEXIAgp::ImmWrite(u32 _uData, u32 _uSize)
|
||||||
case 0xAE010000:
|
case 0xAE010000:
|
||||||
case 0xAE090000: // start DMA
|
case 0xAE090000: // start DMA
|
||||||
m_eeprom_write_status = false; // ToDo: Verify with hardware which commands disable EEPROM CS
|
m_eeprom_write_status = false; // ToDo: Verify with hardware which commands disable EEPROM CS
|
||||||
// Fall-through intentional
|
[[fallthrough]];
|
||||||
case 0xAE0A0000: // end DMA
|
case 0xAE0A0000: // end DMA
|
||||||
m_eeprom_pos = 0;
|
m_eeprom_pos = 0;
|
||||||
// Fall-through intentional
|
[[fallthrough]];
|
||||||
default:
|
default:
|
||||||
m_current_cmd = _uData;
|
m_current_cmd = _uData;
|
||||||
m_return_pos = 0;
|
m_return_pos = 0;
|
||||||
|
|
|
@ -419,6 +419,7 @@ bool Wiimote::IsBalanceBoard()
|
||||||
"Failed to read from 0xa400fe, assuming Wiimote is not a Balance Board.");
|
"Failed to read from 0xa400fe, assuming Wiimote is not a Balance Board.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue