Update SvcTable.cs

This commit is contained in:
LDj3SNuD 2019-09-20 01:52:48 +02:00 committed by GitHub
parent b55b680332
commit 4816b726ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,7 +234,7 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
throw new InvalidOperationException($"Method \"{svcName}\" has a invalid ref type \"{argType.Name}\".");
}
generator.Emit(OpCodes.Ldloca_S, (byte)local.LocalIndex);
generator.Emit(OpCodes.Ldloc, local);
}
else
{