diff --git a/core/hw/maple/maple_if.cpp b/core/hw/maple/maple_if.cpp index 5d1b095e0..61997ca2e 100644 --- a/core/hw/maple/maple_if.cpp +++ b/core/hw/maple/maple_if.cpp @@ -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;