Commit Graph

355 Commits

Author SHA1 Message Date
Siddharth Singh
7e64719d5b fix formatting (almost) 2024-05-19 04:15:31 +05:30
Siddharth Singh
7ed221215d samples/net/simple: Run in user mode instead of kernel mode
Kernel mode samples did not run correctly. This commit switches the sample over to run in userland, and changes some heap settings as well.
2024-05-19 03:22:30 +05:30
Wouter Wijsman
02bb3a4fa8 Fix net simple_prx for gcc 14 2024-05-18 22:43:15 +02:00
Wouter Wijsman
2a9802e68d Fix net simple sample for gcc 14 2024-05-18 22:41:17 +02:00
Wouter Wijsman
116094c366 Resolve warning in nand dumpipl sample 2024-05-18 22:36:07 +02:00
Wouter Wijsman
549ed3a43f Fix mp3 sample for gcc 14 2024-05-18 22:32:48 +02:00
Wouter Wijsman
343e8b38f6 Fix spharm example for gcc14 2024-05-18 22:25:31 +02:00
Francisco Javier Trujillo Mata
a9635cdf73 Fix wrong header 2024-05-18 18:00:15 +02:00
Francisco Javier Trujillo Mata
f1ea3f8f9c Adding Werror to compilation and solve warnings 2024-05-17 23:46:21 +02:00
Francisco Javier Trujillo Mata
a6919c05ac Init and deinit lock API 2024-05-15 23:22:17 +02:00
Daniel 'dbeef' Zalega
df07a6fa69 Replaced TARGET_FILE_DIR + TARGET_FILE_NAME with TARGET_FILE 2024-05-09 22:57:09 +02:00
Daniel 'dbeef' Zalega
6e802c7cfa Support for customized OUTPUT_NAME of a given target in create_pbp_file macro 2024-05-09 00:09:43 +02:00
Francisco Javier Trujillo Mata
781f4ac947 Fix warning 2024-04-21 00:21:16 +02:00
Francisco Javier Trujillo Mata
6537fada36 Fix lock API 2024-04-21 00:21:16 +02:00
Francisco Javier Trujillo Mata
3a3c439e6a Add extra information for attr in sceKernelCreateLwMutex 2024-04-21 00:21:14 +02:00
Wouter Wijsman
265535a351 Revert "cmake/make: use -isystem for system libc headers"
This reverts commit 7c106675b3.
2024-04-16 09:20:58 +02:00
Wouter Wijsman
3da1b8e03a Revert "pspdev.cmake: don't use -isystem for C++, because CMake breaks include_next"
This reverts commit 26c756d7ca.
2024-04-16 09:20:53 +02:00
Francisco Javier Trujillo Mata
eef3421873 flix _times implementation 2024-04-03 23:56:44 +02:00
Francisco Javier Trujillo Mata
3615791863 Fix pthread priorities and timeout 2024-04-03 23:56:32 +02:00
Francisco Javier Trujillo Mata
5c6cc731e3 Fixing pthreadglue 2024-04-03 20:39:43 +02:00
Francisco Javier Trujillo Mata
5627442396 Add F_SETFD cmd to _fcntl function 2024-04-01 22:46:21 +02:00
rofl0r
26c756d7ca pspdev.cmake: don't use -isystem for C++, because CMake breaks include_next
... by using -isystem instead of -I for all pkg-config-provided include dirs,
turning those effectively into system include dirs.
2024-04-01 09:58:52 +00:00
rofl0r
7c106675b3 cmake/make: use -isystem for system libc headers
using -isystem for the libc standard include directory is the only way
to make it the first candidate for #include <foo> path search, and to
suppress warnings when building 3rd party code including them.
2024-03-29 20:56:34 +00:00
rofl0r
fd52aecd82 pspdev.cmake: also default to FW 6.0 2024-03-13 06:39:00 +00:00
rofl0r
b9cbe7f1c3 build.mak: default to firmware 6.0
as discussed in #89, few structs have different layout depending on the
_PSP_FW_VERSION macro.

this makes a noticable (i.e. resulting in potential memory corruption)
difference only in few structs that are supposed to be used only by
kernel experts, but it makes it clear to non-experts that the struct
layouts they program for are the latest ones.

an expert trying to target an older firmware version, can still override
the macro on the commandline.

closes #89
2024-03-12 12:20:04 +00:00
Francisco Javier Trujillo Mata
fc5e586bc8 Fix pipe compilaiton 2024-03-11 16:49:28 +01:00
Francisco Javier Trujillo Mata
0fa4eab7d2 Improve exec support 2024-03-11 16:45:15 +01:00
rofl0r
5137c71815 allow pspsdk to be built without pthread-embedded
just like it used to work until 8a0ab6b.

closes #183
2024-03-08 06:51:32 +00:00
Sokus
e736f3cfad Restore deleted info/examples in Controller Kernel Library 2024-03-07 16:56:43 +01:00
Sokus
2e71465c8f Fix indentation in samples/controller/basic 2024-03-07 16:54:58 +01:00
Sokus
125d360ec1 Refactor Controller Kernel Library documentation 2024-03-06 20:03:50 +01:00
Damián Parrino
a6a35bbbab Update CreatePBP.cmake
fix problem when creating PARAM.SFO with APP_VER
2024-02-25 19:24:48 -03:00
Damián Parrino
5458ff4b63 Update CreatePBP.cmake
Allow setting app version in PARAM.SFO
2024-02-17 12:18:46 -03:00
Damián Parrino
edf55a6cc9 Update psputility_savedata.h 2024-02-17 09:24:13 -03:00
Damián Parrino
a6fbd2db8c Update psputility_savedata.h
update unknown struct members
2024-02-15 10:59:58 -03:00
Damián Parrino
d453fb9bd5 Update psputility_savedata.h 2024-02-15 10:44:09 -03:00
Sokus
fa9b2c7f25 Refactor vertex data layout description for sceGuDrawArray 2024-02-12 22:48:33 +01:00
Sokus
c992832f0b Fix documentation on vertex layout for sceGuDrawArray 2024-02-11 11:06:17 +01:00
Diamond Rivero
74fac9637f change mp3 file path 2024-02-04 22:24:55 +08:00
Diamond Rivero
110d030ef2 add mp3 file sample 2024-02-04 22:16:42 +08:00
Wouter Wijsman
cf7fc72efd Merge pull request #170 from Crow-bar/upd-mp3
mp3: new API definitions
2024-02-04 15:16:01 +01:00
Wouter Wijsman
1a5045fe94 Merge pull request #171 from Crow-bar/upd-vaudio
vaudio: lib
2024-02-04 14:22:14 +01:00
Wouter Wijsman
76e6ce2e46 Merge pull request #169 from Crow-bar/upd-rtc
rtc: use ScePspDateTime, instead of pspTime
2024-02-02 15:24:21 +01:00
Crow-bar
d71a9da389 gu: speedup 2024-02-02 14:49:12 +03:00
Crow-bar
b1b14aa46d mp3: new API definitions 2024-02-02 14:48:18 +03:00
Crow-bar
6da8ffa726 vaudio: lib 2024-02-02 14:46:55 +03:00
Crow-bar
8a028132bc rtc: use ScePspDateTime, instead of pspTime 2024-02-02 14:45:42 +03:00
Crow-bar
0513fe7d02 pspdev.cmake: -G0 flag removed 2024-01-31 22:09:22 +03:00
Crow-bar
3422d3e397 build*.mak: -G0 flag removed 2024-01-31 16:00:24 +03:00
Francisco Javier Trujillo Mata
26dd2a97f9 Adding ATFILE glue functions 2024-01-24 12:05:23 +01:00