Commit Graph

169 Commits

Author SHA1 Message Date
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
Francisco Javier Trujillo Mata
8e2385801d Fix getentropy after newlib upgrade 2024-01-23 22:47:54 +01:00
Wouter Wijsman
8fc8beb72a Merge pull request #149 from Beyley/master
gu: Add clang-friendly codepath
2023-12-23 14:14:23 +01:00
Beyley Thomas
a5473d0451 Use builtin_clz on all codepaths 2023-12-22 09:45:10 -08:00
Francisco Javier Trujillo Mata
9f14f4a98e Fix path for statvfs 2023-12-01 01:18:00 +01:00
Francisco Javier Trujillo Mata
cfc954cf98 Implement unlink 2023-12-01 01:17:58 +01:00
Francisco Javier Trujillo Mata
f8c0f793ed Fix seekdir 2023-11-28 23:25:06 +01:00
kub
55aa864574 libcglue fix: d_type field uninitialized in getdents 2023-11-23 00:02:03 +01:00
Wouter Wijsman
69ad53c430 include psptypes.h in psprtc.h
Fixes #155

I tested this by adding `#include <psprtc.h>` at the top of `main.c` for the `debug/kprintf` sample. With this fix it compiles, without this fix it does not.
2023-10-03 23:42:41 +02:00
Wouter Wijsman
9bd4db541b Merge pull request #156 from bucanero/patch-1
Add statvfs() based on sceIoDevctl()
2023-10-03 22:59:31 +02:00
Damián Parrino
b092fb9682 Update Makefile.am 2023-09-30 10:55:15 -03:00
Damián Parrino
e21b401d3e Update glue.c 2023-09-30 10:51:36 -03:00
diamant3
c0c9f9c1a9 fix va_end missing 2023-09-27 22:17:54 +08:00
taba
db3fb0b2a9 fix typo 2023-09-21 22:11:49 +09:00
Damián Parrino
70678dd078 Update pspiofilemgr_devctl.h 2023-09-19 11:03:47 -03:00
Damián Parrino
b3a6694d46 Update Makefile.am 2023-09-18 18:41:39 -03:00
Damián Parrino
fd74b76a78 Create pspiofilemgr_devctl.h 2023-09-18 18:31:15 -03:00
Damián Parrino
909b42ae65 Update pspiofilemgr.h 2023-09-18 18:21:22 -03:00
Beyley Thomas
04756ae9bc Move clang path to __builtin_clz 2023-09-17 00:55:12 -07:00
Beyley Thomas
fcf9ed6d35 gu: Add clang-friendly codepath 2023-09-15 12:03:57 -07:00
bvdaakster
9dc89b1a49 Fix htmlviewer sample (#145)
* Fix htmlviewer sample

* Uses PSP_HEAP_THRESHOLD_SIZE_KB macro instead of defining a fixed heap size

* Revert to original htmlviewer sample and apply minimal fixes only

---------

Co-authored-by: Bas van den Aakster <bas@xtr.dev>
2023-07-14 09:41:11 +02:00
David Guillen Fandos
4b2982cb7d Fix init / libc_init ordering
_init might require working pthreads, due to C++ constructors using
mutexes and threads. Since libc does not require _init execution, we
simply reorder them.

This removes support for kernel-mode _init on user programs that run in
kernel mode (mostly old FW 1.5, but should not affect almost any
homebrew out there, since they don't use user-mode main thread).
2023-06-28 23:11:56 +02:00
Nathan Bourgeois
3f22a7ec08 Fixed documentation -- added 8 bit notes. 2023-06-27 08:08:05 -04:00
Nathan Bourgeois
09d3a7fd39 Documentation: Update sceGuDrawArray() for 16-bit vertices. 2023-06-26 23:57:38 -04:00
Francisco Javier Trujillo Mata
ba34585a9c Adding missing time.h 2023-06-24 12:42:20 +02:00
Francisco Javier Trujillo Mata
a1e07de6dc Implement full LOCK API for newlib 2023-06-24 12:39:33 +02:00
Wouter Wijsman
a287a5b60e Merge pull request #113 from fjtrujy/extend_speed_sample
Add the usage of triangles for textures
2023-06-07 10:24:25 +02:00
Wouter Wijsman
17b2541028 Do not optimize by default 2023-05-29 13:36:53 +02:00
pyroesp
0987b3602b add image_display sample to pspsdk
fix for PR

renamed logo folder to image_display, renamed logo to image in source, changed image used, removed FW version from makefile, added header to source, added image_display to all samples makefile
2023-05-28 05:05:32 +02:00
Wouter Wijsman
fbfb0692d3 Merge pull request #130 from MotoLegacy/uint-type
ATRAC3: Fix mysterious "uint" type reference in pspatrac3.h
2023-05-11 19:25:37 +02:00
Steam Deck User
cbdbba845e ATRAC3: Fix mysterious "uint" type reference in pspatrac3.h
Not sure where this originated. Possibly a leftover from old SDK
versions since the uint type appears in some archaic homebrew as well.
This was the only reference of `uint` in the entire SDK. Went ahead and
changed this appropriately to `u32`.
2023-05-11 13:20:42 -04:00
Steam Deck User
216a8c463f netdialog sample: Fix typo with 2023-04-24 23:36:35 -04:00
Steam Deck User
78a1f9ac72 Guard _PSP_FW_VERSION macro to mitigate warnings with -Wundef
Fixes #123. Guards `_PSP_FW_VERSION` references with `#if defined()` to avoid the SDK headers returning warnings when compiling modules with the `-Wundef` cflag.
2023-04-24 23:28:33 -04:00
Wouter Wijsman
4493616d8e Merge pull request #125 from MotoLegacy/sfo-changes
build.mak: Improve and streamline .SFO creation
2023-04-18 18:11:23 +02:00
Ian
f7da81f22b build.mak: Fix oversight with PSP_LARGE_MEMORY condition tree, clean changes
`MEMSIZE` would not be set as expected if `PSP_FW_VERSION` was set to `1` above firmware 3.90 and the warning was sent to the console. This is addressed.

I've also made the `MEMSIZE` field a make var (`EXPAND_MEMORY`) that gets set on/off in the tree and just gets used by `SFO` flags at the end of it, instead of setting them in multiple spaces.
2023-04-18 11:16:53 -04:00
Wouter Wijsman
3855502a07 Merge pull request #126 from MotoLegacy/adhocctl-parms
SceNetAdhocctlParams: Swap order of BSSID and Nickname
2023-04-18 11:41:30 +02:00
Wouter Wijsman
d3cc172331 Merge pull request #49 from yoanlcq/fix-get-callstack
Fix pspDebugGetStackTrace() by using _etext as upper bound for ra
2023-04-18 11:40:07 +02:00