mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-12 23:48:58 +01:00
Merge pull request #9658 from lioncash/fallthrough
BlockingLoop/Jit64: Indicate explicit fallthrough where applicable
This commit is contained in:
commit
34348fad1d
@ -158,6 +158,7 @@ public:
|
|||||||
// However, if we're not in the STATE_DONE state any more, the event should also be
|
// However, if we're not in the STATE_DONE state any more, the event should also be
|
||||||
// triggered so that we'll skip the next waiting call quite fast.
|
// triggered so that we'll skip the next waiting call quite fast.
|
||||||
m_done_event.Set();
|
m_done_event.Set();
|
||||||
|
[[fallthrough]];
|
||||||
|
|
||||||
case STATE_DONE:
|
case STATE_DONE:
|
||||||
// We're done now. So time to check if we want to sleep or if we want to stay in a busy
|
// We're done now. So time to check if we want to sleep or if we want to stay in a busy
|
||||||
@ -173,6 +174,7 @@ public:
|
|||||||
// Busy loop.
|
// Busy loop.
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
[[fallthrough]];
|
||||||
|
|
||||||
case STATE_SLEEPING:
|
case STATE_SLEEPING:
|
||||||
// Just relax
|
// Just relax
|
||||||
|
@ -74,6 +74,7 @@ void Jit64::lXXx(UGeckoInstruction inst)
|
|||||||
{
|
{
|
||||||
case 534: // lwbrx
|
case 534: // lwbrx
|
||||||
byte_reversed = true;
|
byte_reversed = true;
|
||||||
|
[[fallthrough]];
|
||||||
case 23: // lwzx
|
case 23: // lwzx
|
||||||
case 55: // lwzux
|
case 55: // lwzux
|
||||||
accessSize = 32;
|
accessSize = 32;
|
||||||
@ -87,6 +88,7 @@ void Jit64::lXXx(UGeckoInstruction inst)
|
|||||||
break;
|
break;
|
||||||
case 790: // lhbrx
|
case 790: // lhbrx
|
||||||
byte_reversed = true;
|
byte_reversed = true;
|
||||||
|
[[fallthrough]];
|
||||||
case 279: // lhzx
|
case 279: // lhzx
|
||||||
case 311: // lhzux
|
case 311: // lhzux
|
||||||
accessSize = 16;
|
accessSize = 16;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user