diff --git a/Core/MIPS/MIPSDisVFPU.cpp b/Core/MIPS/MIPSDisVFPU.cpp index 253858bb78..bea774bff9 100644 --- a/Core/MIPS/MIPSDisVFPU.cpp +++ b/Core/MIPS/MIPSDisVFPU.cpp @@ -532,7 +532,7 @@ namespace MIPSDis int vs = _VS; int imm = (int)((op >> 16) & 0xFF); const char *name = MIPSGetName(op); - sprintf(out, "%s%s\t%s, %s", name, VSuff(op), VN(vd, sz), VN(vs, sz), imm); + sprintf(out, "%s%s\t%s, %s, %d", name, VSuff(op), VN(vd, sz), VN(vs, sz), imm); } void Dis_Vf2h(MIPSOpcode op, char *out) diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index f413c9f6b3..9560ac23e9 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -189,9 +189,9 @@ void GameButton::Draw(UIContext &dc) { char discNumInfo[8]; if (ginfo->disc_total > 1) - sprintf(discNumInfo, "-DISC%d",ginfo->disc_number); + sprintf(discNumInfo, "-DISC%d", ginfo->disc_number); else - sprintf(discNumInfo, ""); + strcpy(discNumInfo, ""); dc.Draw()->Flush(); dc.RebindTexture();