Skip to content

Commit 962d492

Browse files
committed
addition
1 parent 8c3a93c commit 962d492

File tree

5 files changed

+1169
-4
lines changed

5 files changed

+1169
-4
lines changed

VM/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ public void Run(int Offset)
125125
object[] arguments = new object[argcount];
126126
for (int i = 0; i < argcount; i++)
127127
{
128-
Console.WriteLine(CodeSectionOffset + Offset + 20 + i * 4);
129128
temp = new byte[Marshal.ReadInt32(MemoryPointer, CodeSectionOffset + Offset + 20 + i * 4)];
130129
Marshal.Copy(
131130
IntPtr.Add(MemoryPointer,

VMCompiler/Form1.Designer.cs

Lines changed: 47 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

VMCompiler/Form1.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ private void Compile()
437437
case OpCode.CallCSharp:
438438
{
439439
CSharpVoid vd = (CSharpVoid) i.operand;
440-
441440
stringsContainer.Add(vd.Name);
442441
Array.Resize(ref TextSection, TextSection.Length + vd.Name.Length);
443442
Array.Copy(Encoding.UTF8.GetBytes(vd.Name), 0, TextSection, TextSection.Length - vd.Name.Length, vd.Name.Length);

VMCompiler/VMCompiler.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<WarningLevel>4</WarningLevel>
3333
</PropertyGroup>
3434
<ItemGroup>
35+
<Reference Include="Microsoft.VisualBasic" />
3536
<Reference Include="System" />
3637
<Reference Include="System.Core" />
3738
<Reference Include="System.Xml.Linq" />
@@ -50,6 +51,9 @@
5051
<Compile Include="Form1.Designer.cs">
5152
<DependentUpon>Form1.cs</DependentUpon>
5253
</Compile>
54+
<Compile Include="linenum_rtf.cs">
55+
<SubType>Component</SubType>
56+
</Compile>
5357
<Compile Include="Program.cs" />
5458
<Compile Include="Properties\AssemblyInfo.cs" />
5559
<EmbeddedResource Include="Form1.resx">

0 commit comments

Comments
 (0)