mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-14 16:37:07 +00:00
Android: Numerous fixes
* GetSerialNumber in ISystemSettingsServer * Bionic qualifiers * Revert application pool size to 3285 MB for 4 GB DRAM * Fix PPTC recompilation if mod or patch is applied
This commit is contained in:
parent
20f1cef9b2
commit
19dd23c288
19 changed files with 341 additions and 57 deletions
|
|
@ -55,6 +55,24 @@ namespace Ryujinx.Cpu
|
|||
}
|
||||
}
|
||||
|
||||
public MemoryEhMeilleure(ulong asSize, MemoryTracking tracking)
|
||||
{
|
||||
_tracking = tracking;
|
||||
_baseAddress = 0UL;
|
||||
ulong endAddress = asSize;
|
||||
|
||||
_trackingEvent = VirtualMemoryEvent;
|
||||
|
||||
_pageSize = MemoryBlock.GetPageSize();
|
||||
|
||||
bool added = NativeSignalHandler.AddTrackedRegion((nuint)_baseAddress, (nuint)endAddress, Marshal.GetFunctionPointerForDelegate(_trackingEvent));
|
||||
|
||||
if (!added)
|
||||
{
|
||||
throw new InvalidOperationException("Number of allowed tracked regions exceeded.");
|
||||
}
|
||||
}
|
||||
|
||||
private ulong VirtualMemoryEvent(ulong address, ulong size, bool write)
|
||||
{
|
||||
ulong pageSize = _pageSize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue