mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
15 lines
501 B
C#
15 lines
501 B
C#
|
namespace Ryujinx.HLE.HOS.Tamper.CodeEmitters
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Marks the begin of a conditional block (started by Code Type 1, Code Type 8 or Code Type C0).
|
|||
|
/// </summary>
|
|||
|
class BeginConditionalBlock
|
|||
|
{
|
|||
|
public static void Emit(byte[] instruction, CompilationContext context)
|
|||
|
{
|
|||
|
// Just start a new compilation block and parse the instruction itself at the end.
|
|||
|
context.BlockStack.Push(new OperationBlock(instruction));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|