rsx_debugger: fix gcc index access warning

This commit is contained in:
Megamouse 2025-11-16 15:35:05 +01:00 committed by Elad
parent bc01863654
commit 84fdd2e056

View file

@ -1252,8 +1252,8 @@ void rsx_debugger::GetVertexProgram() const
rsx::method_registers.clip_planes_mask()
};
vp_blob.resize(vp_blob.size() + vp.data.size());
std::copy(vp.data.begin(), vp.data.end(), vp_blob.begin() + 14);
vp_blob.reserve(vp_blob.size() + vp.data.size());
vp_blob.insert(vp_blob.end(), vp.data.begin(), vp.data.end());
std::span<u32> vp_binary(vp_blob);
CgBinaryDisasm vp_disasm(vp_binary);