Implement svcGetInfo type 16, from Yuzu
This commit is contained in:
parent
62b2124c03
commit
b9b6e9d03f
1 changed files with 4 additions and 0 deletions
|
@ -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}");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue