Ignore bogus maple dma xfer
Workaround for csmash game test menu crash
This commit is contained in:
parent
eef297706c
commit
a1aea570c5
|
@ -149,6 +149,12 @@ void maple_DoDma()
|
|||
u32 outlen=0;
|
||||
|
||||
u32* p_data =(u32*) GetMemPtr(addr + 8,(plen)*sizeof(u32));
|
||||
if (p_data == NULL)
|
||||
{
|
||||
printf("MAPLE ERROR : INVALID SB_MDSTAR value 0x%X\n", addr);
|
||||
SB_MDST=0;
|
||||
return;
|
||||
}
|
||||
|
||||
//Command code
|
||||
u32 command=p_data[0] &0xFF;
|
||||
|
|
Loading…
Reference in New Issue