diff --git a/src/kernel/pspexception.h b/src/kernel/pspexception.h index 3779717c02..e3fe818962 100644 --- a/src/kernel/pspexception.h +++ b/src/kernel/pspexception.h @@ -30,7 +30,7 @@ int sceKernelRegisterDefaultExceptionHandler(void *func); /** * Register a exception handler - * + * * @param exno - The exception number * @param func - Pointer to the exception handler function * @@ -40,7 +40,7 @@ int sceKernelRegisterExceptionHandler(int exno, void *func); /** * Register a exception handler with a priority - * + * * @param exno - The exception number * @param priority - The priority of the exception * @param func - Pointer to the exception handler function @@ -49,6 +49,14 @@ int sceKernelRegisterExceptionHandler(int exno, void *func); */ int sceKernelRegisterPriorityExceptionHandler(int exno, int priority, void *func); +/** + * Get the currently active default exception handler. + * + * @return The pointer to the currently active default exception handler on + * success, NULL on error. + */ +void *sceKernelGetActiveDefaultExceptionHandler(void); + #ifdef __cplusplus } #endif