mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
9878fc2d3c
* Implement inline memory load/store exclusive * Fix missing REX prefix on 8-bits CMPXCHG * Increment PTC version due to bugfix * Remove redundant memory checks * Address PR feedback * Increment PPTC version
24 lines
532 B
C#
24 lines
532 B
C#
using System;
|
|
|
|
namespace ARMeilleure.Memory
|
|
{
|
|
class InvalidAccessException : Exception
|
|
{
|
|
public InvalidAccessException()
|
|
{
|
|
}
|
|
|
|
public InvalidAccessException(ulong address) : base($"Invalid memory access at virtual address 0x{address:X16}.")
|
|
{
|
|
}
|
|
|
|
public InvalidAccessException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public InvalidAccessException(string message, Exception innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
}
|
|
}
|