mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-24 22:25:47 +00:00
misc: Replace references to IntPtr/UIntPtr with nint/nuint + code cleanups.
This commit is contained in:
@@ -61,7 +61,7 @@ namespace Ryujinx.Cpu.LightningJit
|
||||
return GetContext().CntpctEl0;
|
||||
}
|
||||
|
||||
public static ulong GetFunctionAddress(IntPtr framePointer, ulong address)
|
||||
public static ulong GetFunctionAddress(nint framePointer, ulong address)
|
||||
{
|
||||
return (ulong)Context.Translator.GetOrTranslatePointer(framePointer, address, GetContext().ExecutionMode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user