mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-19 14:18:51 +02:00
33e673ceb8
* fatal: Implement Service This PR adds a basic implementation of fatal service, guest processes call it when there is something wrong. But since we can already have all informations by debugging it's not really useful. In any case, that's avoid an unimplemented service exception. Structs/Enum are based on Atmosphère source code. After logs the error report, I call SvcBreak. Feedbacks are welcome on this, since some guests calls it right after fatal service so I can remove it if needed. * Addresses gdkchan feedback
25 lines
No EOL
561 B
C#
25 lines
No EOL
561 B
C#
using Ryujinx.Common.Memory;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Fatal.Types
|
|
{
|
|
public struct CpuContext32
|
|
{
|
|
public Array11<uint> X;
|
|
public uint FP;
|
|
public uint IP;
|
|
public uint SP;
|
|
public uint LR;
|
|
public uint PC;
|
|
|
|
public uint PState;
|
|
public uint Afsr0;
|
|
public uint Afsr1;
|
|
public uint Esr;
|
|
public uint Far;
|
|
|
|
public Array32<uint> StackTrace;
|
|
public uint StackTraceSize;
|
|
public uint StartAddress;
|
|
public uint RegisterSetFlags;
|
|
}
|
|
} |