diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-08-17 11:36:50 +0000 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-08-17 11:36:50 +0000 |
| commit | 5f5461879c73720359e87fa41cbfe8c452f5155e (patch) | |
| tree | 9de8b0dcfcffa70fac7da91792772679af8341bb /libpsn00b/include | |
| parent | acc1a959fe3c4bc5d5e91f1f31e182ff967008ca (diff) | |
| download | psn00bsdk-5f5461879c73720359e87fa41cbfe8c452f5155e.tar.gz | |
Added missing header declarations, FlushCache, misc library bugfixes
Diffstat (limited to 'libpsn00b/include')
| -rw-r--r-- | libpsn00b/include/psxapi.h | 1 | ||||
| -rw-r--r-- | libpsn00b/include/psxgpu.h | 2 | ||||
| -rw-r--r-- | libpsn00b/include/stdio.h | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/libpsn00b/include/psxapi.h b/libpsn00b/include/psxapi.h index c366702..9e92568 100644 --- a/libpsn00b/include/psxapi.h +++ b/libpsn00b/include/psxapi.h @@ -180,6 +180,7 @@ void ChangeClearRCnt(int t, int m); // Executable functions int Exec(struct EXEC *exec, int argc, char **argv); +void FlushCache(void); void _boot(void); diff --git a/libpsn00b/include/psxgpu.h b/libpsn00b/include/psxgpu.h index ddb4522..f50b841 100644 --- a/libpsn00b/include/psxgpu.h +++ b/libpsn00b/include/psxgpu.h @@ -1,6 +1,8 @@ #ifndef __PSXGPU_H #define __PSXGPU_H +#include <sys/types.h> + // Low-level display parameters for DISPENV_RAW. A leftover from prototyping #define DISP_WIDTH_256 0 #define DISP_WIDTH_320 1 diff --git a/libpsn00b/include/stdio.h b/libpsn00b/include/stdio.h index cf1909d..97a2f5a 100644 --- a/libpsn00b/include/stdio.h +++ b/libpsn00b/include/stdio.h @@ -56,6 +56,9 @@ int vsprintf(char *string, const char *fmt, va_list ap); int sprintf(char *string, const char *fmt, ...); int snprintf(char *string, unsigned int size, const char *fmt, ...); +int vsscanf(const char *str, const char *format, va_list ap); +int sscanf(const char *str, const char *fmt, ...); + #ifdef __cplusplus } #endif |
