From 6b29fe9d600d68e378ddb771860e6b2e78596383 Mon Sep 17 00:00:00 2001 From: Kingcom Date: Sat, 29 Nov 2014 18:33:11 +0100 Subject: [PATCH] Change VROT disassembly --- Core/MIPS/MIPSDisVFPU.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Core/MIPS/MIPSDisVFPU.cpp b/Core/MIPS/MIPSDisVFPU.cpp index 92622a569b..3a0b16dfd7 100644 --- a/Core/MIPS/MIPSDisVFPU.cpp +++ b/Core/MIPS/MIPSDisVFPU.cpp @@ -436,7 +436,7 @@ namespace MIPSDis int vs = _VS; int imm = (op>>16) & 0x1f; bool negSin = (imm & 0x10) ? true : false; - char c[5] = "...."; + char c[5] = "0000"; char temp[16]={""}; if (((imm>>2)&3)==(imm&3)) { @@ -453,10 +453,9 @@ namespace MIPSDis { if (c[i] == 'S' && negSin) temp[pos++] = '-'; - else - temp[pos++] = ' '; temp[pos++] = c[i]; - temp[pos++] = ' '; + if (i != numElems-1) + temp[pos++] = ','; } temp[pos++] = ']'; temp[pos]=0;