mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-15 08:40:20 +00:00
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
|
partial class SvcHandler
|
||||||
{
|
{
|
||||||
private const int AllowedCpuIdBitmask = 0b1111;
|
private const int AllowedCpuIdBitmask = 0b1111;
|
||||||
|
private ulong IsVirtualAddressMemoryEnabled = 0;
|
||||||
|
|
||||||
private const bool EnableProcessDebugging = false;
|
private const bool EnableProcessDebugging = false;
|
||||||
|
|
||||||
|
@ -297,6 +298,9 @@ namespace Ryujinx.Core.OsHle.Kernel
|
||||||
ThreadState.X1 = MemoryRegions.MapRegionSize;
|
ThreadState.X1 = MemoryRegions.MapRegionSize;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 16:
|
||||||
|
ThreadState.X1 = IsVirtualAddressMemoryEnabled;
|
||||||
|
break;
|
||||||
default: throw new NotImplementedException($"SvcGetInfo: {InfoType} {Handle} {InfoId}");
|
default: throw new NotImplementedException($"SvcGetInfo: {InfoType} {Handle} {InfoId}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue