mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
[APT] Start implementing shared font
This commit is contained in:
parent
e052c16a36
commit
098b70690a
3 changed files with 18 additions and 0 deletions
|
@ -31,6 +31,7 @@ namespace KernelHandles {
|
|||
MaxServiceHandle = PTM,
|
||||
|
||||
GSPSharedMemHandle = MaxServiceHandle + 1, // Handle for the GSP shared memory
|
||||
FontSharedMemHandle,
|
||||
HIDSharedMemHandle,
|
||||
|
||||
MinSharedMemHandle = GSPSharedMemHandle,
|
||||
|
@ -56,16 +57,21 @@ namespace KernelHandles {
|
|||
// Returns the name of a handle as a string based on the given handle
|
||||
static const char* getServiceName(Handle handle) {
|
||||
switch (handle) {
|
||||
case AC: return "AC";
|
||||
case AM: return "AM";
|
||||
case APT: return "APT";
|
||||
case BOSS: return "BOSS";
|
||||
case CECD: return "CECD";
|
||||
case CFG: return "CFG";
|
||||
case HID: return "HID";
|
||||
case FRD: return "FRD";
|
||||
case FS: return "FS";
|
||||
case DSP: return "DSP";
|
||||
case GPU: return "GPU";
|
||||
case LCD: return "LCD";
|
||||
case MIC: return "MIC";
|
||||
case NDM: return "NDM";
|
||||
case NIM: return "NIM";
|
||||
case PTM: return "PTM";
|
||||
default: return "Unknown";
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ class APTService {
|
|||
void checkNew3DS(u32 messagePointer);
|
||||
void checkNew3DSApp(u32 messagePointer);
|
||||
void enable(u32 messagePointer);
|
||||
void getSharedFont(u32 messagePointer);
|
||||
void initialize(u32 messagePointer);
|
||||
void inquireNotification(u32 messagePointer);
|
||||
void notifyToWait(u32 messagePointer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue