1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-24 02:28:01 +02:00

Minor IDE fixes

This commit is contained in:
Brian Fiete 2019-09-26 08:26:49 -07:00
parent e4635f0f52
commit 4fcbdc423d
2 changed files with 7 additions and 4 deletions

View file

@ -511,7 +511,8 @@ namespace IDE.ui
mLineDatas.Clear();
String codeData = scope String();
IDEApp.sApp.mDebugger.DisassembleAt(addr, codeData);
if (addr != 0)
IDEApp.sApp.mDebugger.DisassembleAt(addr, codeData);
int prevDisasmLineData = -1;
int lineIdx = 0;
bool allowEmptyLine = false;
@ -1248,6 +1249,7 @@ namespace IDE.ui
debugExpr.Replace('[', '(');
debugExpr.Replace(']', ')');
debugExpr.Replace("xmmword ptr", "(int64[2]*)");
debugExpr.Replace("qword ptr", "(int64*)");
debugExpr.Replace("dword ptr", "(int32*)");
debugExpr.Replace("word ptr", "(int16*)");