mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
ZeldaHLE: Special case Cmd03 NOP handling to make it clear it shouldn't ever happen on light protocol UCodes.
This commit is contained in:
@ -358,7 +358,6 @@ void ZeldaUCode::RunPendingCommands()
|
|||||||
switch (command)
|
switch (command)
|
||||||
{
|
{
|
||||||
case 0x00:
|
case 0x00:
|
||||||
case 0x03:
|
|
||||||
case 0x0A:
|
case 0x0A:
|
||||||
case 0x0B:
|
case 0x0B:
|
||||||
case 0x0C:
|
case 0x0C:
|
||||||
@ -369,6 +368,17 @@ void ZeldaUCode::RunPendingCommands()
|
|||||||
SendCommandAck(CommandAck::STANDARD, sync);
|
SendCommandAck(CommandAck::STANDARD, sync);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 0x03:
|
||||||
|
// NOP on standard protocol but shouldn't ever happen on light protocol
|
||||||
|
// since it's going directly back to the dispatcher with no ack.
|
||||||
|
if (m_flags & LIGHT_PROTOCOL)
|
||||||
|
{
|
||||||
|
PanicAlert("Received a 03 command on light protocol.");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
SendCommandAck(CommandAck::STANDARD, sync);
|
||||||
|
break;
|
||||||
|
|
||||||
case 0x04:
|
case 0x04:
|
||||||
case 0x05:
|
case 0x05:
|
||||||
case 0x06:
|
case 0x06:
|
||||||
|
Reference in New Issue
Block a user