mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-30 05:53:01 +00:00
20 lines
562 B
C#
20 lines
562 B
C#
|
using System;
|
||
|
|
||
|
namespace ChocolArm64.Instructions
|
||
|
{
|
||
|
struct Inst
|
||
|
{
|
||
|
public InstInterpreter Interpreter { get; private set; }
|
||
|
public InstEmitter Emitter { get; private set; }
|
||
|
public Type Type { get; private set; }
|
||
|
|
||
|
public static Inst Undefined => new Inst(null, InstEmit.Und, null);
|
||
|
|
||
|
public Inst(InstInterpreter interpreter, InstEmitter emitter, Type type)
|
||
|
{
|
||
|
Interpreter = interpreter;
|
||
|
Emitter = emitter;
|
||
|
Type = type;
|
||
|
}
|
||
|
}
|
||
|
}
|