mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
aloha
This commit is contained in:
commit
b7e1d9930d
230 files changed
+17548
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using ChocolArm64.Memory;
|
||||
using System;
|
||||
|
||||
namespace ChocolArm64.Exceptions
|
||||
{
|
||||
public class VmmAccessViolationException : Exception
|
||||
{
|
||||
private const string ExMsg = "Value at address 0x{0:x16} could not be \"{1}\"!";
|
||||
|
||||
public VmmAccessViolationException() { }
|
||||
|
||||
public VmmAccessViolationException(long Position, AMemoryPerm Perm) : base(string.Format(ExMsg, Position, Perm)) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace ChocolArm64.Exceptions
|
||||
{
|
||||
public class VmmOutOfMemoryException : Exception
|
||||
{
|
||||
private const string ExMsg = "Failed to allocate {0} bytes of memory!";
|
||||
|
||||
public VmmOutOfMemoryException() { }
|
||||
|
||||
public VmmOutOfMemoryException(long Size) : base(string.Format(ExMsg, Size)) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace ChocolArm64.Exceptions
|
||||
{
|
||||
public class VmmPageFaultException : Exception
|
||||
{
|
||||
private const string ExMsg = "Tried to access unmapped address 0x{0:x16}!";
|
||||
|
||||
public VmmPageFaultException() { }
|
||||
|
||||
public VmmPageFaultException(long Position) : base(string.Format(ExMsg, Position)) { }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user