summaryrefslogtreecommitdiff
path: root/libpsx/include
Commit message (Collapse)AuthorAgeFilesLines
* inttypes.h: Fix wrong definitionsHEADmasterXavier Del Campo Romero2024-03-311-4/+9
| | | | | PRIsN is not defined according to C99. Instead, PRIdN and PRIiN are the macros defined for signed integers.
* stdio.h: Add missing declaration for freopen(3)Xavier Del Campo Romero2023-11-291-0/+1
|
* libpsx: Fix const-correctness for fwrite(3)Xavier Del Campo Romero2023-11-291-1/+1
| | | | | According to C99 §7.19.8.2p1, fwrite(3) is expected to take a const void *, and not void *.
* libpsx: Add rewind(3)Xavier Del Campo Romero2023-11-291-0/+1
|
* libpsx: Move type definitions to stdint.hXavier Del Campo Romero2023-11-292-39/+37
| | | | | According to C99 §7.8, inttypes.h is meant to include stdint.h, and not the other way around.
* Upgrade to version 0.7.1v0.7.1Xavier Del Campo Romero2022-06-081-3/+3
|
* Remove ssize_t definition from stdlib.hXavier Del Campo Romero2022-02-071-1/+0
|
* psx.h: define root counter specs as macrosXavier Del Campo Romero2022-02-071-12/+8
| | | | | | | ISO C considers enumerators of int type, so any value larger than 0x7FFFFFFF is considered invalid on platforms where sizeof (int) == 4. A workaround for this limitation on the language is to use macros instead.
* Upgrade to version 0.7.0Xavier Del Campo Romero2021-10-241-3/+5
| | | | | Many breaking changes have been introduced by previous commits, so it might be a good idea to do so.
* Provide buffered fread(3)Xavier Del Campo Romero2021-10-241-1/+7
| | | | | | | | | In order to reduce calls to seek(2) (which are very expensive), this commit keeps a sector-sized cache for each available FILE instance, except from the standard streams, of course. As expected, this allows calls to fread(3) to react much faster when small, contiguous chunks are read.
* Provide conforming interface for fwrite(3)Xavier Del Campo Romero2021-10-241-1/+1
|
* Provide implementations for strtoul(3) and strtoull(3)Xavier Del Campo Romero2021-10-241-0/+2
|
* Provide implementation for perror(3)Xavier Del Campo Romero2021-10-241-0/+1
|
* Provide implementation for fprintf(3)Xavier Del Campo Romero2021-10-241-1/+1
|
* Add conforming interfaces of standard streamsXavier Del Campo Romero2021-10-241-0/+2
|
* errno.h: always define errnoXavier Del Campo Romero2021-10-241-2/+0
|
* Set conforming interface for vprintf(3)Xavier Del Campo Romero2021-10-241-1/+1
|
* stdio.h: use NULL definition from stddef.hXavier Del Campo Romero2021-10-241-5/+1
|
* Import MEMCARD_STATUS_UNKNOWN from psxsdk-20150729Xavier Del Campo Romero2021-01-031-0/+2
|
* Add implementation for strtok_rXavier Del Campo Romero2021-01-031-0/+1
|
* Provide experimental (non-working) mouse supportXavier Del Campo Romero2021-01-031-0/+2
|
* Fix const-correctness on psxgpuXavier Del Campo Romero2021-01-032-21/+32
| | | | - Added GsSetDrawEnv_DMA and GsUploadCLUT.
* Add PRiX* macros to inttypes.hXavier Del Campo Romero2020-11-081-0/+9
|
* Fixed non-standard memset() declarationXavi Del Campo2020-03-051-1/+1
|
* Minor change on COLORMODE definitionXavi Del Campo2020-02-011-1/+1
|
* Added missing extern "C"Xavi Del Campo2020-02-017-18/+79
|
* Added PSX_PollPad_Fast_Ex() from psxsdk-20150729 forkXavi Del Campo2020-01-312-56/+79
| | | | Also, added extern "C" on some header files. Some are still missing.
* Solved const-correctness issuesXavi Del Campo2020-01-312-13/+13
|
* Added missing include on psxgpu.hXavi Del Campo2020-01-311-68/+70
|
* Imported pristine psxsdk-20190410 from official repoXavi Del Campo2020-01-3126-0/+3513