From c6259241a2f4b9cec35c6a7c22ee87d83c343868 Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 28 Jun 2021 12:35:07 -0500 Subject: [PATCH] [GPU] Complain when command packet is 0xCDCDCDCD. --- src/xenia/gpu/command_processor.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xenia/gpu/command_processor.cc b/src/xenia/gpu/command_processor.cc index 28e5a9c1f..53af72115 100644 --- a/src/xenia/gpu/command_processor.cc +++ b/src/xenia/gpu/command_processor.cc @@ -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);