1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-30 20:02:02 +00:00
Ryujinx/ChocolArm64/Exceptions/VmmAccessViolationException.cs

14 lines
414 B
C#
Raw Normal View History

2018-02-04 23:08:20 +00:00
using ChocolArm64.Memory;
using System;
namespace ChocolArm64.Exceptions
{
public class VmmAccessViolationException : Exception
{
2018-02-10 00:13:18 +00:00
private const string ExMsg = "Address 0x{0:x16} does not have \"{1}\" permission!";
2018-02-04 23:08:20 +00:00
public VmmAccessViolationException() { }
public VmmAccessViolationException(long Position, AMemoryPerm Perm) : base(string.Format(ExMsg, Position, Perm)) { }
}
}