mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
naming fix
This commit is contained in:
parent
1c5765fa98
commit
3eab4da6fa
1 changed files with 2 additions and 2 deletions
|
|
@ -11,9 +11,9 @@ using Mono.Cecil.Cil;
|
||||||
namespace Indy.IL2CPU {
|
namespace Indy.IL2CPU {
|
||||||
public class Engine {
|
public class Engine {
|
||||||
private OpCodeMap mMap = new OpCodeMap();
|
private OpCodeMap mMap = new OpCodeMap();
|
||||||
public void Execute(string assembly, string opAssembly) {
|
public void Execute(string aAssembly, string opAssembly) {
|
||||||
mMap.LoadOpMapFromAssembly(opAssembly);
|
mMap.LoadOpMapFromAssembly(opAssembly);
|
||||||
AssemblyDefinition xAD = AssemblyFactory.GetAssembly(assembly);
|
AssemblyDefinition xAD = AssemblyFactory.GetAssembly(aAssembly);
|
||||||
if (xAD.EntryPoint == null)
|
if (xAD.EntryPoint == null)
|
||||||
throw new NotSupportedException("Libraries are not yet supported!");
|
throw new NotSupportedException("Libraries are not yet supported!");
|
||||||
foreach (Instruction xInstruction in xAD.EntryPoint.Body.Instructions) {
|
foreach (Instruction xInstruction in xAD.EntryPoint.Body.Instructions) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue