Print guest stack trace on invalid memory access (#1407)
* Print guest stack trace on invalid memory access * Improve XML docs
This commit is contained in:
parent
636542d817
commit
57bb0abda3
7 changed files with 143 additions and 75 deletions
19
Ryujinx.Memory/InvalidMemoryRegionException.cs
Normal file
19
Ryujinx.Memory/InvalidMemoryRegionException.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.Memory
|
||||
{
|
||||
public class InvalidMemoryRegionException : Exception
|
||||
{
|
||||
public InvalidMemoryRegionException() : base("Attempted to access a invalid memory region.")
|
||||
{
|
||||
}
|
||||
|
||||
public InvalidMemoryRegionException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public InvalidMemoryRegionException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue