Debugger: Fixed multi-threading crash in assembler

This commit is contained in:
Souryo 2017-10-05 21:35:55 -04:00
parent 6d0e011551
commit 2f20ab5092

View file

@ -166,7 +166,7 @@ namespace Mesen.GUI.Debugger
List<byte> convertedByteCode = new List<byte>();
List<ErrorDetail> errorList = new List<ErrorDetail>();
string[] codeLines = txtCode.Text.Replace("\r", "").Split('\n');
string[] codeLines = text.Replace("\r", "").Split('\n');
int line = 1;
foreach(short s in byteCode) {
if(s >= 0) {