diff options
author | Hexxellor | 2017-03-28 15:32:26 -0500 |
---|---|---|
committer | devnoname120 | 2017-03-28 22:32:26 +0200 |
commit | 5568baf51c4b787ff3ce338948bc6faed34c2320 (patch) | |
tree | 3452914d79092392b496b0611bdccf3f67a4b818 /include/user | |
parent | Added 3 SceSysclibForDriver NIDs (diff) | |
download | vds-libraries-5568baf51c4b787ff3ce338948bc6faed34c2320.tar.gz |
Typo fixing, and misnamed struct (#151)
* Fixing Mostly Harmless Typos
This fixes a bunch of miscellaneous typos and grammatical mistakes in
the source which were mostly harmless with the exception of the
ScreenShotParam in psp2/screenshot.h which didn’t match the name of the
struct causing it to fail when using that header.
Diffstat (limited to '')
-rw-r--r-- | include/user/ctrl.h | 4 | ||||
-rw-r--r-- | include/user/kernel/modulemgr.h | 2 | ||||
-rw-r--r-- | include/user/kernel/sysmem.h | 6 | ||||
-rw-r--r-- | include/user/kernel/threadmgr.h | 20 | ||||
-rw-r--r-- | include/user/promoterutil.h | 2 |
5 files changed, 17 insertions, 17 deletions
diff --git a/include/user/ctrl.h b/include/user/ctrl.h index 0064614..f8f5679 100644 --- a/include/user/ctrl.h +++ b/include/user/ctrl.h @@ -49,7 +49,7 @@ enum SceCtrlExternalInputMode { /** Controller mode. */ enum SceCtrlPadInputMode { - /** Digitial buttons only. */ + /** Digital buttons only. */ SCE_CTRL_MODE_DIGITAL = 0, /** Digital buttons + Analog support. */ SCE_CTRL_MODE_ANALOG = 1, @@ -167,7 +167,7 @@ int sceCtrlReadBufferPositive(int port, SceCtrlData *pad_data, int count); /** * Get the controller extended state information (blocking, positive logic). * - * This function will bind L/R tringger value to L1/R1 instead of LTRIGGER/RTRIGGER + * This function will bind L/R trigger value to L1/R1 instead of LTRIGGER/RTRIGGER * * @param[in] port - use 0. * @param[out] *pad_data - see ::SceCtrlData. diff --git a/include/user/kernel/modulemgr.h b/include/user/kernel/modulemgr.h index d7ad72c..58ce37a 100644 --- a/include/user/kernel/modulemgr.h +++ b/include/user/kernel/modulemgr.h @@ -27,7 +27,7 @@ typedef struct SceUInt perms; //< probably rwx in low bits void *vaddr; //< address in memory SceUInt memsz; //< size in memory - SceUInt flags; //< meanig unknown + SceUInt flags; //< meaning unknown SceUInt res; //< unused? } SceKernelSegmentInfo; diff --git a/include/user/kernel/sysmem.h b/include/user/kernel/sysmem.h index 4dd4884..c517210 100644 --- a/include/user/kernel/sysmem.h +++ b/include/user/kernel/sysmem.h @@ -33,7 +33,7 @@ enum { }; /*** - * Allocates a new memoy block + * Allocates a new memory block * * @param[in] name - Name for the memory block * @param[in] type - Type of the memory to allocate @@ -45,7 +45,7 @@ enum { SceUID sceKernelAllocMemBlock(const char *name, SceKernelMemBlockType type, int size, SceKernelAllocMemBlockOpt *optp); /*** - * Frees new memoy block + * Frees new memory block * * @param[in] uid - SceUID of the memory block to free * @@ -54,7 +54,7 @@ SceUID sceKernelAllocMemBlock(const char *name, SceKernelMemBlockType type, int int sceKernelFreeMemBlock(SceUID uid); /*** - * Gets the base address of a memoy block + * Gets the base address of a memory block * * @param[in] uid - SceUID of the memory block to free * @param[out] basep - Base address of the memory block identified by SceUID diff --git a/include/user/kernel/threadmgr.h b/include/user/kernel/threadmgr.h index 3681c19..d26272b 100644 --- a/include/user/kernel/threadmgr.h +++ b/include/user/kernel/threadmgr.h @@ -296,7 +296,7 @@ int sceKernelGetThreadInfo(SceUID thid, SceKernelThreadInfo *info); /** * Retrive the runtime status of a thread. * - * @param thid - UID of the thread to retrive status. + * @param thid - UID of the thread to retrieve status. * @param status - Pointer to a ::SceKernelThreadRunStatus struct to receive the runtime status. * * @return 0 if successful, otherwise the error code. @@ -356,7 +356,7 @@ SceUID sceKernelCreateSema(const char *name, SceUInt attr, int initVal, int maxV * Destroy a semaphore * * @param semaid - The semaid returned from a previous create call. - * @return Returns the value 0 if its succesful otherwise -1 + * @return Returns the value 0 if it's successful, otherwise -1 */ int sceKernelDeleteSema(SceUID semaid); @@ -491,7 +491,7 @@ SceUID sceKernelCreateMutex(const char *name, SceUInt attr, int initCount, SceKe * Destroy a mutex * * @param mutexid - The mutex id returned from sceKernelCreateMutex - * @return Returns the value 0 if its succesful otherwise -1 + * @return Returns the value 0 if it's successful, otherwise -1 */ int sceKernelDeleteMutex(SceUID mutexid); @@ -499,7 +499,7 @@ int sceKernelDeleteMutex(SceUID mutexid); * Open a mutex * * @param name - The name of the mutex to open - * @return Returns the value 0 if its succesful otherwise -1 + * @return Returns the value 0 if it's successful, otherwise -1 */ int sceKernelOpenMutex(const char *name); @@ -507,7 +507,7 @@ int sceKernelOpenMutex(const char *name); * Close a mutex * * @param mutexid - The mutex id returned from sceKernelCreateMutex - * @return Returns the value 0 if its succesful otherwise -1 + * @return Returns the value 0 if it's successful, otherwise -1 */ int sceKernelCloseMutex(SceUID mutexid); @@ -745,7 +745,7 @@ SceUID sceKernelCreateCond(const char *name, SceUInt attr, SceUID mutexId, const * Destroy a condition variable * * @param condition variableid - The condition variable id returned from sceKernelCreateCond - * @return Returns the value 0 if its succesful otherwise -1 + * @return Returns the value 0 if it's successful, otherwise -1 */ int sceKernelDeleteCond(SceUID condId); @@ -753,7 +753,7 @@ int sceKernelDeleteCond(SceUID condId); * Open a condition variable * * @param name - The name of the condition variable to open - * @return Returns the value 0 if its succesful otherwise -1 + * @return Returns the value 0 if it's successful, otherwise -1 */ int sceKernelOpenCond(const char *name); @@ -761,7 +761,7 @@ int sceKernelOpenCond(const char *name); * Close a condition variable * * @param condition variableid - The condition variable id returned from sceKernelCreateCond - * @return Returns the value 0 if its succesful otherwise -1 + * @return Returns the value 0 if it's successful, otherwise -1 */ int sceKernelCloseCond(SceUID condId); @@ -885,7 +885,7 @@ int sceKernelNotifyCallback(SceUID cb, int arg2); * * @param cb - The UID of the specified callback * - * @return 0 on succes, < 0 on error + * @return 0 on success, < 0 on error */ int sceKernelCancelCallback(SceUID cb); @@ -1090,7 +1090,7 @@ typedef enum SceKernelIdListType { } SceKernelIdListType; /** - * Get the type of a threadman uid + * Get the type of a Threadmgr uid * * @param uid - The uid to get the type from * diff --git a/include/user/promoterutil.h b/include/user/promoterutil.h index 5c83ebc..9e49a0f 100644 --- a/include/user/promoterutil.h +++ b/include/user/promoterutil.h @@ -38,7 +38,7 @@ int scePromoterUtilityExit(void); int scePromoterUtilityDeletePkg(const char *titleid); /** - * Update the LiveArea ressources of an app + * Update the LiveArea resources of an app * * @param[in] *args - see ::ScePromoterUtilityLAUpdate * |