mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07:00
24 lines
555 B
C#
24 lines
555 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Ryujinx.Memory
|
|||
|
{
|
|||
|
class MemoryProtectionException : Exception
|
|||
|
{
|
|||
|
public MemoryProtectionException()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public MemoryProtectionException(MemoryPermission permission) : base($"Failed to set memory protection to \"{permission}\".")
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public MemoryProtectionException(string message) : base(message)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public MemoryProtectionException(string message, Exception innerException) : base(message, innerException)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|