misc: memory: Migrate from OutOfMemoryException to SystemException entirely (#5399)
Fix a regression with address space allocation while providing more information about the context of the exception.
This commit is contained in:
parent
f6ada8d169
commit
9860bfb2cd
4 changed files with 12 additions and 12 deletions
|
@ -199,7 +199,7 @@ namespace Ryujinx.Cpu
|
|||
|
||||
break;
|
||||
}
|
||||
catch (OutOfMemoryException)
|
||||
catch (SystemException)
|
||||
{
|
||||
baseMemory?.Dispose();
|
||||
mirrorMemory?.Dispose();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue