diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-07-30 10:16:41 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 23:16:41 +1000 |
| commit | 57bb0abda3dc277dc7575250fdb080edb83abcbc (patch) | |
| tree | 21fd7e3cdea856037c4794e2de0b68ff80be4b63 /Ryujinx.Memory/InvalidMemoryRegionException.cs | |
| parent | 636542d817b3403ae44b46a48a67cedc0c7b42c5 (diff) | |
Print guest stack trace on invalid memory access (#1407)
* Print guest stack trace on invalid memory access
* Improve XML docs
Diffstat (limited to 'Ryujinx.Memory/InvalidMemoryRegionException.cs')
| -rw-r--r-- | Ryujinx.Memory/InvalidMemoryRegionException.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Ryujinx.Memory/InvalidMemoryRegionException.cs b/Ryujinx.Memory/InvalidMemoryRegionException.cs new file mode 100644 index 00000000..9fc938c6 --- /dev/null +++ b/Ryujinx.Memory/InvalidMemoryRegionException.cs @@ -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) + { + } + } +} |
