[GPU] Fixed crash related to disassemble_pm4 option.

In case of auto draw there is a chance it will crash due to uninitialized struct
This commit is contained in:
Gliniak
2026-05-02 18:17:01 +02:00
parent 08c0cf5ad0
commit 9467c77f08

View File

@@ -304,7 +304,7 @@ bool PacketDisassembler::DisasmPacketType3(const uint8_t* base_ptr,
auto prim_type = static_cast<xenos::PrimitiveType>(dword1 & 0x3F);
uint32_t src_sel = (dword1 >> 6) & 0x3;
PacketAction di_action;
PacketAction di_action{};
di_action.type = Type::kDrawIndx;
auto& di = di_action.draw_indx;