Skip to content

Commit

Permalink
Merge pull request #824 from Princess-of-Sleeping/master
Browse files Browse the repository at this point in the history
Added `Special macros`
  • Loading branch information
Princess-of-Sleeping authored Nov 11, 2023
2 parents dcebd70 + 01ffc6e commit 720c7d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.|

0 comments on commit 720c7d9

Please sign in to comment.