mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-26 21:42:11 +00:00
This commit is contained in:
parent
ff46012613
commit
fc2314399c
1 changed files with 2 additions and 3 deletions
|
|
@ -30,14 +30,13 @@ namespace Cosmos.Cosmos_VS_Windows
|
||||||
string xData = BitConverter.ToString(aData);
|
string xData = BitConverter.ToString(aData);
|
||||||
xData = xData.Trim();
|
xData = xData.Trim();
|
||||||
xData = xData.Replace("-", "");
|
xData = xData.Replace("-", "");
|
||||||
if (xData.Length == 256)
|
if (xData.Length == 512)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 256; i += 8)
|
for (int i = 0; i < 512; i += 8)
|
||||||
{
|
{
|
||||||
string xTemp = xData.Substring(i, 8);
|
string xTemp = xData.Substring(i, 8);
|
||||||
tboxSource.Text += ("EBP + " + xOffset.ToString() + " : " + xTemp + "\n");
|
tboxSource.Text += ("EBP + " + xOffset.ToString() + " : " + xTemp + "\n");
|
||||||
}
|
}
|
||||||
tboxSource.Text = xData;
|
|
||||||
}
|
}
|
||||||
else tboxSource.Text = "Error loading the frame.";
|
else tboxSource.Text = "Error loading the frame.";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue