mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-28 19:54:29 +01:00
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
16 lines
313 B
C#
16 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;
|
|
}
|
|
}
|
|
}
|