aloha
This commit is contained in:
commit
b7e1d9930d
230 changed files with 17548 additions and 0 deletions
14
Ryujinx/Cpu/Exceptions/VmmAccessViolationException.cs
Normal file
14
Ryujinx/Cpu/Exceptions/VmmAccessViolationException.cs
Normal file
|
@ -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)) { }
|
||||
}
|
||||
}
|
13
Ryujinx/Cpu/Exceptions/VmmOutOfMemoryException.cs
Normal file
13
Ryujinx/Cpu/Exceptions/VmmOutOfMemoryException.cs
Normal file
|
@ -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)) { }
|
||||
}
|
||||
}
|
13
Ryujinx/Cpu/Exceptions/VmmPageFaultException.cs
Normal file
13
Ryujinx/Cpu/Exceptions/VmmPageFaultException.cs
Normal file
|
@ -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)) { }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue