Xavier Del Campo Romero
59e38e90a3
Remove trailing whitespaces
2020-11-09 21:01:29 +01:00
Xavier Del Campo Romero
c65395be64
Implement strerror(3) and strerror_r(3)
...
Error descriptions obtained from include/errno.h.
2020-11-08 17:37:16 +01:00
Xavier Del Campo Romero
4fb20e290e
Add PRiX* macros to inttypes.h
2020-11-08 17:33:15 +01:00
Xavier Del Campo Romero
a6a6e2aac9
Create output folders before building
2020-11-07 16:05:33 +01:00
Xavier Del Campo Romero
d3780c0d7d
Fix buffer overflow on GsLoadFont
...
LoadImage accesses img[0..15] when w=16, h=1, causing it to read past `pal`.
2020-11-07 16:03:06 +01:00
Xavier Del Campo Romero
d9acf265ff
Enable debug info
2020-11-07 16:03:06 +01:00
Xavier Del Campo Romero
89b059cace
Allocate .sbss and .common into .bss
...
GNU ld fragments .bss into .sbss and .common (see man nm(1) for further
reference). However, the linker script used by PSXSDK did not determine where
to put such sections, causing some statically allocated objects to be placed
**after** __bss_end, leading to undefined behaviour.
2020-11-07 16:02:54 +01:00
Xavi Del Campo
ad890e56b6
Fixed non-standard memset() declaration
2020-03-05 18:22:52 +01:00
Xavi Del Campo
e769a8ab05
Solved issue with pads under real hw
2020-02-01 12:14:48 +01:00
Xavi Del Campo
55e4700bc7
Minor change on COLORMODE definition
2020-02-01 11:23:06 +01:00
Xavi Del Campo
a8fb879457
Enabled debugging symbols
2020-02-01 07:20:36 +01:00
Xavi Del Campo
3ccdeed57a
Removed useless const qualifiers
2020-02-01 07:20:00 +01:00
Xavi Del Campo
805fc37a06
Added missing extern "C"
2020-02-01 00:51:53 +01:00
Xavi Del Campo
5f638ea86c
Fixed redundant conditions
2020-01-31 22:24:08 +01:00
Xavi Del Campo
10e46fc09e
Fixed undefined value on local variable
2020-01-31 22:21:19 +01:00
Xavi Del Campo
25aedbde21
Fixed buffer overflow
2020-01-31 22:19:19 +01:00
Xavi Del Campo
6f225f14b3
Fixed another invalid encoding on string literal
2020-01-31 22:17:43 +01:00
Xavi Del Campo
51e31fe4cb
Fixed invalid encoding on string literal
2020-01-31 22:16:02 +01:00
Xavi Del Campo
37d37cb102
Solved undefined value
2020-01-31 22:13:47 +01:00
Xavi Del Campo
6b14cee120
Added silent flag to mkpsxixo
2020-01-31 14:11:39 +01:00
Xavi Del Campo
aad614833a
Fixed typos and invalid width '384'
2020-01-31 14:11:12 +01:00
Xavi Del Campo
26b206560d
Added -ffunction/data-sections and -Os to libpsx
2020-01-31 14:10:20 +01:00
Xavi Del Campo
78128c8058
Added PSX_PollPad_Fast_Ex() from psxsdk-20150729 fork
...
Also, added extern "C" on some header files. Some are still missing.
2020-01-31 13:13:14 +01:00
Xavi Del Campo
08ca71f289
Solved const-correctness issues
2020-01-31 11:14:51 +01:00
Xavi Del Campo
f3df02b0d0
Added missing fix16.hpp from psxsdk-20150729
...
Local Makefile was modified to copy this file to toolchain prefix
when installing.
2020-01-31 10:44:29 +01:00
Xavi Del Campo
98d6e71da7
Added missing include on psxgpu.h
2020-01-31 10:42:47 +01:00
Xavi Del Campo
ecb1cbbd68
Changed MAKE_COMMAND from 'gmake' to 'make
2020-01-31 10:42:19 +01:00
Xavi Del Campo
7c24e9a9b0
Imported pristine psxsdk-20190410 from official repo
2020-01-31 10:32:23 +01:00
Xavi92
a2b7b6bb1c
Initial commit
2020-01-31 09:29:13 +00:00