mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-24 15:24:37 -05:00
SI_DeviceAMBaseboard: Use CreateStatusResponse to fix "RunSIBuffer: expected_response_length" WARN_LOGs.
This commit is contained in:
parent
8da0a94ab9
commit
1234a4e479
|
|
@ -228,9 +228,7 @@ int CSIDevice_AMBaseboard::RunBuffer(u8* buffer, int request_length)
|
|||
{
|
||||
case EBufferCommands::CMD_STATUS: // Returns ID and dip switches
|
||||
{
|
||||
const u32 id = Common::swap32(SI_AM_BASEBOARD | 0x100);
|
||||
std::memcpy(buffer, &id, sizeof(id));
|
||||
return sizeof(id);
|
||||
return CreateStatusResponse(SI_AM_BASEBOARD | 0x100, buffer);
|
||||
}
|
||||
break;
|
||||
case EBufferCommands::CMD_AM_BASEBOARD:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user