ErrorApplet: Implement ApplicationErrorArg (#2123)
This PR implement `ApplicationErrorArg` to the Error Applet. It's used by the guest to throw some specific error messages. The code was done for (and merged) LDN2 build since long time ago and have been tested a bunch of times because of that! In a way to reduce the differences between LDN and master build it's fine to add it to master.
This commit is contained in:
parent
ca848d6359
commit
db56b2166d
2 changed files with 55 additions and 0 deletions
13
Ryujinx.HLE/HOS/Applets/Error/ApplicationErrorArg.cs
Normal file
13
Ryujinx.HLE/HOS/Applets/Error/ApplicationErrorArg.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Applets.Error
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
unsafe struct ApplicationErrorArg
|
||||
{
|
||||
public uint ErrorNumber;
|
||||
public ulong LanguageCode;
|
||||
public fixed byte MessageText[0x800];
|
||||
public fixed byte DetailsText[0x800];
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue