Debugger: Fixed UI crash when stack pointer is $FF

This commit is contained in:
Sour 2018-03-06 19:45:39 -05:00
parent 002b351143
commit f35cef97b0

View File

@ -114,7 +114,9 @@ namespace Mesen.GUI.Debugger
sb.Append(", ");
}
string stack = sb.ToString();
if(stack.Length > 2) {
stack = stack.Substring(0, stack.Length - 2);
}
txtStack.Text = stack;
}