9 #include "../sf/service.h"
void plExit(void)
Exit pl.
Result plGetSharedFontByType(PlFontData *font, PlSharedFontType SharedFontType)
Gets shared font(s).
PlServiceType
Definition: pl.h:11
@ PlServiceType_User
Initializes pl:u.
Definition: pl.h:12
@ PlServiceType_System
Initializes pl:s. With [16.0.0+] SharedFont is no longer available with this, pl:u must be used for t...
Definition: pl.h:13
Result plInitialize(PlServiceType service_type)
Initialize pl.
void * plGetSharedmemAddr(void)
Gets the address of the SharedMemory.
Service * plGetServiceSession(void)
Gets the Service object for the actual pl service session.
PlSharedFontType
SharedFontType.
Definition: pl.h:17
@ PlSharedFontType_Total
Total fonts supported by this enum.
Definition: pl.h:24
@ PlSharedFontType_ExtChineseSimplified
Extended Chinese Simplified.
Definition: pl.h:20
@ PlSharedFontType_NintendoExt
Nintendo Extended. This font only has the special Nintendo-specific characters, which aren't availabl...
Definition: pl.h:23
@ PlSharedFontType_ChineseSimplified
Chinese Simplified.
Definition: pl.h:19
@ PlSharedFontType_ChineseTraditional
Chinese Traditional.
Definition: pl.h:21
@ PlSharedFontType_KO
Korean (Hangul)
Definition: pl.h:22
@ PlSharedFontType_Standard
Japan, US and Europe.
Definition: pl.h:18
FontData.
Definition: pl.h:28
u32 size
Size of the font.
Definition: pl.h:31
u32 type
PlSharedFontType
Definition: pl.h:29
u32 offset
Offset of the font in sharedmem.
Definition: pl.h:30
void * address
Address of the actual font.
Definition: pl.h:32
Service object structure.
Definition: service.h:14
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44
int32_t s32
32-bit signed integer.
Definition: types.h:27
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21