mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Add more applet types
This commit is contained in:
parent
74f7aeedbb
commit
b3443623f5
1 changed files with 28 additions and 0 deletions
|
@ -43,6 +43,34 @@ namespace Applets {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum class APTSignal : u32 {
|
||||||
|
None = 0x0,
|
||||||
|
Wakeup = 0x1,
|
||||||
|
Request = 0x2,
|
||||||
|
Response = 0x3,
|
||||||
|
Exit = 0x4,
|
||||||
|
Message = 0x5,
|
||||||
|
HomeButtonSingle = 0x6,
|
||||||
|
HomeButtonDouble = 0x7,
|
||||||
|
DspSleep = 0x8,
|
||||||
|
DspWakeup = 0x9,
|
||||||
|
WakeupByExit = 0xA,
|
||||||
|
WakeupByPause = 0xB,
|
||||||
|
WakeupByCancel = 0xC,
|
||||||
|
WakeupByCancelAll = 0xD,
|
||||||
|
WakeupByPowerButtonClick = 0xE,
|
||||||
|
WakeupToJumpHome = 0xF,
|
||||||
|
RequestForSysApplet = 0x10,
|
||||||
|
WakeupToLaunchApplication = 0x11,
|
||||||
|
};
|
||||||
|
|
||||||
|
struct Parameter {
|
||||||
|
u32 senderID;
|
||||||
|
u32 destID;
|
||||||
|
APTSignal signal;
|
||||||
|
std::vector<u8> data;
|
||||||
|
};
|
||||||
|
|
||||||
class AppletBase {
|
class AppletBase {
|
||||||
Memory& mem;
|
Memory& mem;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue