Commit Graph

348 Commits

Author SHA1 Message Date
GrayJack
bd7e8509b3 refactor: Move SceKernelThreadEntry to psptypes.h
Avoids type definition conflicts.
2025-09-09 05:47:45 -03:00
GrayJack
c4df37300e refactor: Update SceModule definition 2025-09-09 05:21:43 -03:00
Mahmoud1205
dc71e3de4b fix mistake in documentation of sceGuTexMode
sceGuTexMode documentation said that maxmips argument is the number of mips: which is incorrect. maxmips is the index of the maximum mip level used. And the documentation said that the range of this argument is 0-8 , which is incorrect also and the correct range is 0-7.
2025-08-29 15:10:05 +03:00
Francisco Javier Trujillo Mata
5943f71329 Improve pixelMask example and documentation 2025-08-17 19:11:48 +02:00
Francisco Javier Trujillo Mata
3611a51e85 Adding pixelMask example 2025-08-14 17:01:52 +02:00
Francisco Javier Trujillo Mata
96b6851d5a Merge pull request #322 from fjtrujy/fix_scegu_init
Fixing missing function on the first start call
2025-08-13 22:48:42 +02:00
Francisco Javier Trujillo Mata
39f2c46b04 Fix pointer assertion 2025-08-13 19:01:20 +02:00
Francisco Javier Trujillo Mata
cae1806bcf Fixing missing function on the first start call 2025-08-13 18:32:59 +02:00
Francisco Javier Trujillo Mata
b1bf44e88a Adding assertions
- Adding assertions to each specific sceGu function
- Also adding printf for verbose output
2025-07-17 21:41:15 +02:00
Francisco Javier Trujillo Mata
541277ebcc Creating libpspgud library 2025-07-13 13:18:23 +02:00
Wouter Wijsman
6a32e2f325 Fix scissor causing graphical issues 2025-07-08 13:25:05 +02:00
Reg
6dced23b25 More documentation for pspjpeg.h 2025-07-06 00:10:02 +02:00
Reg
e79471103b added sceJpegGetOutputInfo 2025-07-04 21:10:49 +02:00
Reg
125772869a sceJpegDecodeMJpegYCbCr signature 2025-07-04 19:34:10 +02:00
Reg
6b77137ab5 Add sceJpegDecodeMJpegYCbCr and sceJpegCsc to pspjpeg.h 2025-07-04 13:30:55 +02:00
Reg
0d2e9b6507 sceJpeg_67F0ED84 to sceJpegCsc 2025-07-04 13:09:26 +02:00
Wouter Wijsman
4ec0eef96f Merge pull request #311 from veka0/blend-factor-improvements
Improve blending factors documentation
2025-07-04 00:16:21 +02:00
Wouter Wijsman
8a74665c16 Merge pull request #316 from veka0/sceGuLogicalOp-docs-improvement
Clarify sceGuLogicalOp documentation that color logic op can be used with blending
2025-07-04 00:13:27 +02:00
Veka0
a26915c69d Clarify sceGuLogicalOp documentation 2025-07-03 13:47:57 +02:00
Veka0
50557e178d Clarify csa parameter in sceGuClutMode documentation 2025-07-03 13:01:50 +02:00
Veka0
273a9196eb Improve blending factors documentation 2025-07-03 12:13:17 +02:00
santiago046
ccc4bd65ed Update AddPrxModule.cmake
Fix "Could not open file exports.exp" when path is not absolute.
2025-07-01 21:11:58 -03:00
Francisco Javier Trujillo Mata
55e8d452da Adding example to makefile 2025-07-01 16:13:56 +02:00
Francisco Javier Trujillo Mata
88b8257126 Adding forcing 30 fps example 2025-07-01 16:13:56 +02:00
VoxelTek
485d8d092a Add support for animated .pmf file 2025-06-24 18:45:37 +10:00
Francisco Javier Trujillo Mata
ac445612d4 Some other SIGNAL usage improvement 2025-06-23 17:26:24 +02:00
Francisco Javier Trujillo Mata
b5c93d8598 Improve sceGuSignal usage 2025-06-23 17:26:20 +02:00
Francisco Javier Trujillo Mata
d666830ae1 Improve sceGuClear
- Fix wrong color of first vertex when slow mode
- Speed up clear-fast when 32 bits mode
2025-06-13 00:33:07 +02:00
Francisco Javier Trujillo Mata
afc560e82e Add missing _sceGuUpdateStallAddr 2025-06-11 19:19:10 +02:00
Wouter Wijsman
e3c184f781 Merge pull request #298 from gittyhubacc/sceGumRotate
some quaternion functions
2025-06-10 21:00:52 +02:00
Francisco Javier Trujillo Mata
7373322962 Fix sceGuVIewport with odd center values 2025-06-10 18:22:45 +02:00
Francisco Javier Trujillo Mata
be9540d033 Merge pull request #301 from fjtrujy/sceGuResetGlobalVariables
Make fully private the `sceGuResetGlobalVariables`
2025-06-09 23:46:55 +02:00
Francisco Javier Trujillo Mata
b03dd2acff Make sceGuResetGlobalVariables a private function 2025-06-09 23:19:57 +02:00
Francisco Javier Trujillo Mata
e59e71e45b Improve the sceGuEndObject implementation 2025-06-09 23:17:55 +02:00
based
54ad07c2c2 some quaternion functions 2025-06-09 15:56:39 -04:00
Francisco Javier Trujillo Mata
da602c8e7a Improve sceGuLight* functions 2025-06-09 17:29:51 +02:00
Francisco Javier Trujillo Mata
c665eedbf2 Fix all the warning in the PSPSDK samples 2025-06-07 16:44:11 +02:00
Francisco Javier Trujillo Mata
b48adcf13c Fix GCC compilation samples 2025-06-06 11:34:31 +02:00
David Guillen Fandos
b2c832d639 Tweak pspdev.cmake
This helps building some projects like SDL3-image/ttf
2025-06-01 00:45:32 +02:00
Francisco Javier Trujillo Mata
b3cc8e6e2a Merge pull request #295 from fjtrujy/fixSceGuScissor
Fix `sceGuScissor`
2025-05-19 07:31:12 +02:00
Francisco Javier Trujillo Mata
aa79803a12 Add a new example about how to use scissor 2025-05-18 14:37:54 +02:00
Francisco Javier Trujillo Mata
f7fc5117d4 Fixing sceGUScissor 2025-05-18 14:37:34 +02:00
Stéphane Blondon
94afe5dd5b doc: fix goal of the file in the header comment
It also attributes the copyright to the main creator (fjtrujy).
2025-05-17 23:42:44 +02:00
Francisco Javier Trujillo Mata
162f34c1f1 Fix mipmapping sample 2025-05-17 00:52:57 +02:00
Francisco Javier Trujillo Mata
01cde97b88 Merge pull request #290 from fjtrujy/take_screenshot
Add an option to take an screenshot in the `debug` library.
2025-05-14 12:51:14 +02:00
Wouter Wijsman
0f6bf946fc Merge pull request #291 from sblondon/fix-replace-statement
fix: replace a statement by an assigment
2025-05-14 09:54:37 +02:00
Wouter Wijsman
17f820df2a Merge pull request #292 from sblondon/clean-remove-unused-variables
clean: remove unused variables
2025-05-14 09:52:35 +02:00
Stéphane Blondon
e54a823b03 fix: replace a statement by an assigment
The statement had no effect. It's in a block intended for initialization (as shown in the line 639) so an assigment was probably the intended behaviour.

The graphical output is the same with or without this patch.

Detected by a warning from gcc:

spharm.c: In function ‘SpharmGenTest’:
spharm.c:640:15: warning: statement with no effect [-Wunused-value]
  640 |       objtype == 0;
      |       ~~~~~~~~^~~~
2025-05-13 22:27:15 +02:00
Stéphane Blondon
29f114c84c clean: remove unused variables
Fix several unused variables detected by gcc and displayed such as:

morphskin.c:270:37: warning: variable ‘ss’ set but not used [-Wunused-but-set-variable]
  270 |                         float cs,ct,ss,st;
      |                                     ^~
morphskin.c:270:31: warning: variable ‘cs’ set but not used [-Wunused-but-set-variable]
  270 |                         float cs,ct,ss,st;
      |                               ^~
2025-05-13 22:25:34 +02:00
Francisco Javier Trujillo Mata
ee30cb2668 screenshot example 2025-05-13 22:08:54 +02:00