[APT] Implement some functions for Metroid 2

This commit is contained in:
wheremyfoodat 2022-10-15 21:30:38 +03:00
parent 57fa61eb3f
commit ec26631e5d
3 changed files with 50 additions and 2 deletions

View file

@ -11,11 +11,18 @@ class APTService {
// Service commands
void appletUtility(u32 messagePointer);
void getApplicationCpuTimeLimit(u32 messagePointer);
void getLockHandle(u32 messagePointer);
void checkNew3DS(u32 messagePointer);
void checkNew3DSApp(u32 messagePointer);
void enable(u32 messagePointer);
void notifyToWait(u32 messagePointer);
void receiveParameter(u32 messagePointer);
void replySleepQuery(u32 messagePointer);
void setApplicationCpuTimeLimit(u32 messagePointer);
// Percentage of the syscore available to the application, between 5% and 89%
u32 cpuTimeLimit;
public:
APTService(Memory& mem) : mem(mem) {}