mirror of
https://github.com/libretro/Mesen.git
synced 2025-02-23 01:54:13 +00:00
Debugger: Fixed UI crash when stack pointer is $FF
This commit is contained in:
parent
002b351143
commit
f35cef97b0
@ -114,7 +114,9 @@ namespace Mesen.GUI.Debugger
|
||||
sb.Append(", ");
|
||||
}
|
||||
string stack = sb.ToString();
|
||||
stack = stack.Substring(0, stack.Length - 2);
|
||||
if(stack.Length > 2) {
|
||||
stack = stack.Substring(0, stack.Length - 2);
|
||||
}
|
||||
txtStack.Text = stack;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user