mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
17 lines
419 B
C#
17 lines
419 B
C#
using Ryujinx.HLE.HOS.Tamper.Operations;
|
|
|
|
namespace Ryujinx.HLE.HOS.Tamper.CodeEmitters
|
|
{
|
|
/// <summary>
|
|
/// Code type 0xFF0 pauses the current process.
|
|
/// </summary>
|
|
class PauseProcess
|
|
{
|
|
// FF0?????
|
|
|
|
public static void Emit(byte[] instruction, CompilationContext context)
|
|
{
|
|
context.CurrentOperations.Add(new OpProcCtrl(context.Process, true));
|
|
}
|
|
}
|
|
}
|