We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff7015e commit 72d077fCopy full SHA for 72d077f
src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs
@@ -382,6 +382,12 @@ static void InitIv(Span<byte> iv, ReadOnlySpan<byte> nonce)
382
// NAND is 240MiB, round off to 256MiBs here (extra 16MiB for other misc allocations)
383
mmapMiBSize += 256;
384
385
+ // clear NAND code allocates quite a bit of memory (enough for another copy of NAND itself)
386
+ if (_activeSyncSettings.ClearNAND || lp.DeterministicEmulationRequested)
387
+ {
388
+ mmapMiBSize += 256;
389
+ }
390
+
391
if (_activeSyncSettings.EnableDSiSDCard)
392
{
393
0 commit comments