misc: chore: Use explicit types & fix object creation

This commit is contained in:
KeatonTheBot
2026-08-12 13:57:33 -05:00
parent 69c088004a
commit 88cef7e853
461 changed files with 3163 additions and 3082 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ namespace Ryujinx.Cpu.Nce
_context = new NceNativeContext();
ref var storage = ref _context.GetStorage();
ref NceNativeContext.NativeCtxStorage storage = ref _context.GetStorage();
storage.SvcCallHandler = svcHandlerPtr;
storage.InManaged = 1u;
storage.CtrEl0 = 0x8444c004; // TODO: Get value from host CPU instead of using guest one?
@@ -99,7 +99,7 @@ namespace Ryujinx.Cpu.Nce
public void SetStartAddress(ulong address)
{
ref var storage = ref _context.GetStorage();
ref NceNativeContext.NativeCtxStorage storage = ref _context.GetStorage();
storage.X[30] = address;
storage.HostThreadHandle = NceThreadPal.GetCurrentThreadHandle();