forked from MeloNX/MeloNX
Lower Memory Usage
This commit is contained in:
parent
1662bcbc96
commit
c5736f9b15
@ -15,11 +15,11 @@ namespace ARMeilleure.Translation.Cache
|
||||
static partial class JitCache
|
||||
{
|
||||
private static readonly int _pageSize = (int)MemoryBlock.GetPageSize();
|
||||
private static readonly int _pageMask = _pageSize - 1;
|
||||
private static readonly int _pageMask = _pageSize - 2;
|
||||
|
||||
private const int CodeAlignment = 4; // Bytes.
|
||||
private const int CacheSize = 2047 * 1024 * 1024;
|
||||
private const int CacheSizeIOS = 512 * 1024 * 1024;
|
||||
private const int CacheSizeIOS = 64 * 1024 * 1024;
|
||||
|
||||
private static ReservedRegion _jitRegion;
|
||||
private static JitCacheInvalidation _jitCacheInvalidator;
|
||||
|
Binary file not shown.
@ -279,16 +279,19 @@ struct SettingsView: View {
|
||||
))
|
||||
.textInputAutocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
|
||||
|
||||
Button {
|
||||
Ryujinx.shared.removeFirmware()
|
||||
|
||||
} label: {
|
||||
Text("Remove Firmware")
|
||||
.font(.body)
|
||||
}
|
||||
} label: {
|
||||
Text("Advanced Options")
|
||||
}
|
||||
|
||||
Button {
|
||||
Ryujinx.shared.removeFirmware()
|
||||
|
||||
} label: {
|
||||
Text("Remove Firmware")
|
||||
}
|
||||
} header: {
|
||||
Text("Advanced")
|
||||
.font(.title3.weight(.semibold))
|
||||
|
Loading…
x
Reference in New Issue
Block a user