mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
Put quotes around the right parameter in disassembled debug printfs
This commit is contained in:
1 file changed
+2
-2
@@ -1614,13 +1614,13 @@ rdcstr Reflector::Disassemble(const rdcstr &entryPoint,
|
||||
|
||||
for(uint32_t i = 0; i < decoded.params.size(); i++)
|
||||
{
|
||||
if(i == 5 && IsDebugPrintf)
|
||||
if(i == 0 && IsDebugPrintf)
|
||||
ret += "\"";
|
||||
|
||||
// TODO could generate this from the instruction set grammar.
|
||||
ret += idParams ? idName(decoded.arg<Id>(i)) : ToStr(decoded.arg<uint32_t>(i));
|
||||
|
||||
if(i == 5 && IsDebugPrintf)
|
||||
if(i == 0 && IsDebugPrintf)
|
||||
ret += "\"";
|
||||
|
||||
if(i + 1 < decoded.params.size())
|
||||
|
||||
Reference in new issue
Block a user