[GPU] Complain when command packet is 0xCDCDCDCD.

This commit is contained in:
gibbed 2021-06-28 12:35:07 -05:00 committed by Rick Gibbed
parent f2a68e4b85
commit c6259241a2
1 changed files with 4 additions and 0 deletions

View File

@ -517,6 +517,10 @@ bool CommandProcessor::ExecutePacket(RingBuffer* reader) {
return true;
}
if (packet == 0xCDCDCDCD) {
XELOGW("GPU packet is CDCDCDCD - probably read uninitialized memory!");
}
switch (packet_type) {
case 0x00:
return ExecutePacketType0(reader, packet);