From 01ffc6e803630fe37a5b3b0aaa6c7e9a0690e9d4 Mon Sep 17 00:00:00 2001 From: Princess-of-Sleeping <29831892+Princess-of-Sleeping@users.noreply.github.com> Date: Sat, 11 Nov 2023 12:47:53 +0900 Subject: [PATCH] Added `Special macros` --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 069763f01..6bfb4ecba 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,10 @@ This repository contains all Vita headers needed for development. ## Documentation The documentation is rebuilt every time a commit is pushed to master and it is hosted at the following address: http://vitasdk.github.io/vita-headers + +## Special macros + +|name|locate|description| +|-----|-----|-----| +|`PSP2_SDK_VERSION`|`psp2common/defs.h`|A macro defined with an integer indicating the SDK version.| +|`__USE_SCE_KERNEL_DOMAIN_TEXT_MEMCPY_IMPORT`|`psp2kern/kernel/cpu.h`|A macro to switch sceKernelDomainTextMemcpy to import. Since 3.63, sceKernelDomainTextMemcpy has been removed from the sysmem export, so this macro is forced to undef and becomes a static inline function if `PSP2_SDK_VERSION` is 0x3630000 or higher.|