mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-09-08 21:46:26 -05:00
Add BRK instruction, fix wrong namespace on one of Am interfaces, and disable Debug/Trace logs by default
This commit is contained in:
@@ -2,11 +2,11 @@ using System;
|
||||
|
||||
namespace ChocolArm64.State
|
||||
{
|
||||
public class SvcEventArgs : EventArgs
|
||||
public class AExceptionEventArgs : EventArgs
|
||||
{
|
||||
public int Id { get; private set; }
|
||||
|
||||
public SvcEventArgs(int Id)
|
||||
public AExceptionEventArgs(int Id)
|
||||
{
|
||||
this.Id = Id;
|
||||
}
|
@@ -42,12 +42,18 @@ namespace ChocolArm64.State
|
||||
|
||||
public long CntpctEl0 => Environment.TickCount * TicksPerMS;
|
||||
|
||||
public event EventHandler<SvcEventArgs> SvcCall;
|
||||
public event EventHandler<EventArgs> Undefined;
|
||||
public event EventHandler<AExceptionEventArgs> Break;
|
||||
public event EventHandler<AExceptionEventArgs> SvcCall;
|
||||
public event EventHandler<EventArgs> Undefined;
|
||||
|
||||
public void OnBreak(int Imm)
|
||||
{
|
||||
Break?.Invoke(this, new AExceptionEventArgs(Imm));
|
||||
}
|
||||
|
||||
public void OnSvcCall(int Imm)
|
||||
{
|
||||
SvcCall?.Invoke(this, new SvcEventArgs(Imm));
|
||||
SvcCall?.Invoke(this, new AExceptionEventArgs(Imm));
|
||||
}
|
||||
|
||||
public void OnUndefined()
|
||||
|
Reference in New Issue
Block a user