From 0ff00bd6d35390eb132eecd3ba307ba4bbfdd56d Mon Sep 17 00:00:00 2001 From: Thog Date: Fri, 15 May 2020 03:56:14 +0200 Subject: am: Implement common web applets (#1188) * am: Implemnet common web applets This implement parsing of input and output of web applets while making those close directly. TODO for the future: Use and hook a web browser. * Address Ac_K's comments --- Ryujinx.HLE/HOS/Applets/CommonArguments.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Ryujinx.HLE/HOS/Applets/CommonArguments.cs (limited to 'Ryujinx.HLE/HOS/Applets/CommonArguments.cs') diff --git a/Ryujinx.HLE/HOS/Applets/CommonArguments.cs b/Ryujinx.HLE/HOS/Applets/CommonArguments.cs new file mode 100644 index 00000000..5da34db1 --- /dev/null +++ b/Ryujinx.HLE/HOS/Applets/CommonArguments.cs @@ -0,0 +1,16 @@ +using System.Runtime.InteropServices; + +namespace Ryujinx.HLE.HOS.Applets +{ + [StructLayout(LayoutKind.Sequential, Pack = 8)] + struct CommonArguments + { + public uint Version; + public uint StructureSize; + public uint AppletVersion; + public uint ThemeColor; + [MarshalAs(UnmanagedType.I1)] + public bool PlayStartupSound; + public ulong SystemTicks; + } +} -- cgit v1.2.3