forked from Mirror/Ryujinx
e546e5933f
* Implement syscall handlers using a source generator * Copy FlushProcessDataCache implementation to Syscall since it was only implemented on Syscall32 * Fix wrong argument order in some syscalls * Delete old Reflection.Emit based syscall handling code * Improvements to the code generation * ControlCodeMemory address and size is always 64-bit
15 lines
313 B
C#
15 lines
313 B
C#
using System;
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
|
|
class SvcAttribute : Attribute
|
|
{
|
|
public int Id { get; }
|
|
|
|
public SvcAttribute(int id)
|
|
{
|
|
Id = id;
|
|
}
|
|
}
|
|
}
|