mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
I hate this
This commit is contained in:
parent
17724e77ca
commit
77dff17107
5 changed files with 105 additions and 38 deletions
|
@ -5,41 +5,43 @@
|
|||
#include "result/result.hpp"
|
||||
|
||||
namespace Applets {
|
||||
enum class AppletIDs : u32 {
|
||||
None = 0,
|
||||
SysAppletMask = 0x100,
|
||||
HomeMenu = 0x101,
|
||||
AltMenu = 0x103,
|
||||
Camera = 0x110,
|
||||
Friends = 0x112,
|
||||
GameNotes = 0x113,
|
||||
Browser = 0x114,
|
||||
InstructionManual = 0x115,
|
||||
Notifications = 0x116,
|
||||
Miiverse = 0x117,
|
||||
MiiversePosting = 0x118,
|
||||
AmiiboSettings = 0x119,
|
||||
SysLibraryAppletMask = 0x200,
|
||||
SoftwareKeyboard = 0x201,
|
||||
MiiSelector = 0x202,
|
||||
PNote = 0x204, // TODO: What dis?
|
||||
SNote = 0x205, // What is this too?
|
||||
ErrDisp = 0x206,
|
||||
EshopMint = 0x207,
|
||||
CirclePadProCalib = 0x208,
|
||||
Notepad = 0x209,
|
||||
Application = 0x300,
|
||||
EshopTiger = 0x301,
|
||||
LibraryAppletMask = 0x400,
|
||||
SoftwareKeyboard2 = 0x401,
|
||||
MiiSelector2 = 0x402,
|
||||
Pnote2 = 0x404,
|
||||
SNote2 = 0x405,
|
||||
ErrDisp2 = 0x406,
|
||||
EshopMint2 = 0x407,
|
||||
CirclePadProCalib2 = 0x408,
|
||||
Notepad2 = 0x409,
|
||||
};
|
||||
namespace AppletIDs {
|
||||
enum : u32 {
|
||||
None = 0,
|
||||
SysAppletMask = 0x100,
|
||||
HomeMenu = 0x101,
|
||||
AltMenu = 0x103,
|
||||
Camera = 0x110,
|
||||
Friends = 0x112,
|
||||
GameNotes = 0x113,
|
||||
Browser = 0x114,
|
||||
InstructionManual = 0x115,
|
||||
Notifications = 0x116,
|
||||
Miiverse = 0x117,
|
||||
MiiversePosting = 0x118,
|
||||
AmiiboSettings = 0x119,
|
||||
SysLibraryAppletMask = 0x200,
|
||||
SoftwareKeyboard = 0x201,
|
||||
MiiSelector = 0x202,
|
||||
PNote = 0x204, // TODO: What dis?
|
||||
SNote = 0x205, // What is this too?
|
||||
ErrDisp = 0x206,
|
||||
EshopMint = 0x207,
|
||||
CirclePadProCalib = 0x208,
|
||||
Notepad = 0x209,
|
||||
Application = 0x300,
|
||||
EshopTiger = 0x301,
|
||||
LibraryAppletMask = 0x400,
|
||||
SoftwareKeyboard2 = 0x401,
|
||||
MiiSelector2 = 0x402,
|
||||
Pnote2 = 0x404,
|
||||
SNote2 = 0x405,
|
||||
ErrDisp2 = 0x406,
|
||||
EshopMint2 = 0x407,
|
||||
CirclePadProCalib2 = 0x408,
|
||||
Notepad2 = 0x409,
|
||||
};
|
||||
}
|
||||
|
||||
class AppletBase {
|
||||
Memory& mem;
|
||||
|
|
|
@ -28,6 +28,7 @@ class APTService {
|
|||
|
||||
// Applets here
|
||||
Applets::MiiSelectorApplet miiSelector;
|
||||
Applets::AppletBase* getApplet(u32 id);
|
||||
|
||||
MAKE_LOG_FUNCTION(log, aptLogger)
|
||||
|
||||
|
@ -38,17 +39,21 @@ class APTService {
|
|||
void checkNew3DS(u32 messagePointer);
|
||||
void checkNew3DSApp(u32 messagePointer);
|
||||
void enable(u32 messagePointer);
|
||||
void getAppletInfo(u32 messagePointer);
|
||||
void getSharedFont(u32 messagePointer);
|
||||
void getWirelessRebootInfo(u32 messagePointer);
|
||||
void glanceParameter(u32 messagePointer);
|
||||
void initialize(u32 messagePointer);
|
||||
void inquireNotification(u32 messagePointer);
|
||||
void isRegistered(u32 messagePointer);
|
||||
void notifyToWait(u32 messagePointer);
|
||||
void preloadLibraryApplet(u32 messagePointer);
|
||||
void receiveParameter(u32 messagePointer);
|
||||
void replySleepQuery(u32 messagePointer);
|
||||
void setApplicationCpuTimeLimit(u32 messagePointer);
|
||||
void setScreencapPostPermission(u32 messagePointer);
|
||||
void prepareToStartLibraryApplet(u32 messagePointer);
|
||||
void startLibraryApplet(u32 messagePointer);
|
||||
void theSmashBrosFunction(u32 messagePointer);
|
||||
|
||||
// Percentage of the syscore available to the application, between 5% and 89%
|
||||
|
|
|
@ -43,7 +43,9 @@ class GPUService {
|
|||
// Service commands
|
||||
void acquireRight(u32 messagePointer);
|
||||
void flushDataCache(u32 messagePointer);
|
||||
void importDisplayCaptureInfo(u32 messagePointer);
|
||||
void registerInterruptRelayQueue(u32 messagePointer);
|
||||
void saveVramSysArea(u32 messagePointer);
|
||||
void setAxiConfigQoSMode(u32 messagePointer);
|
||||
void setInternalPriorities(u32 messagePointer);
|
||||
void setLCDForceBlack(u32 messagePointer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue