Implement svcGetInfo type 16, from Yuzu

This commit is contained in:
Melissa Goad 2018-04-18 23:55:23 -05:00
parent 62b2124c03
commit b9b6e9d03f

View file

@ -14,6 +14,7 @@ namespace Ryujinx.Core.OsHle.Kernel
partial class SvcHandler
{
private const int AllowedCpuIdBitmask = 0b1111;
private ulong IsVirtualAddressMemoryEnabled = 0;
private const bool EnableProcessDebugging = false;
@ -297,6 +298,9 @@ namespace Ryujinx.Core.OsHle.Kernel
ThreadState.X1 = MemoryRegions.MapRegionSize;
break;
case 16:
ThreadState.X1 = IsVirtualAddressMemoryEnabled;
break;
default: throw new NotImplementedException($"SvcGetInfo: {InfoType} {Handle} {InfoId}");
}