Commit Graph

620 Commits

Author SHA1 Message Date
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
Wouter Wijsman
1e69b7c9cc Merge pull request #313 from veka0/sceGuClutMode-docs-improvement
Clarify csa parameter in sceGuClutMode documentation
2025-07-03 20:04:58 +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
Wouter Wijsman
449be35679 Merge pull request #310 from santiago046/addprxmodule-fixes
CMake: Fix exports.exp not being found in add_prx_module
2025-07-02 11:50: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
1e5d2f1198 Merge pull request #308 from fjtrujy/sample_30fps
Adding 30 FPS VSYNC sample
2025-07-01 16:25:44 +02: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
Wouter Wijsman
31b3734093 Merge pull request #307 from VoxelTek/master
Add support for animated .pmf file (ICON1.pmf)
2025-06-26 12:56:05 +02:00
VoxelTek
485d8d092a Add support for animated .pmf file 2025-06-24 18:45:37 +10:00
Francisco Javier Trujillo Mata
13d1faa406 Merge pull request #306 from fjtrujy/fix_sceguSignal
Improve `sceGuSignal` usage
2025-06-23 22:57:29 +02: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
9f6f4c0c10 Merge pull request #305 from fjtrujy/improve_sceguclear
Improve `sceGuClear`
2025-06-13 10:58:11 +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
0a8f2166e9 Merge pull request #304 from fjtrujy/missing_sceGuUpdateStallAddr
Add missing _sceGuUpdateStallAddr
2025-06-11 21:51:55 +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
d09cdf9b43 Merge pull request #303 from fjtrujy/improve_sceGuViewport
Fix `sceGuVIewport` with odd center values
2025-06-10 18:50:57 +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
86a30fbd8d Merge pull request #302 from fjtrujy/sceguEndObject
Improve `sceGuEndObject`
2025-06-09 23:46:27 +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
Francisco Javier Trujillo Mata
5168b3f705 Merge pull request #300 from fjtrujy/sceguLight
Improve `sceGuLight*` functions
2025-06-09 23:16:15 +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
Wouter Wijsman
75136cdf0d Merge pull request #299 from fjtrujy/fixSamplesGCC15
Fix majority of the warning in the PSPSDK samples
2025-06-08 12:40:01 +02:00
Francisco Javier Trujillo Mata
c665eedbf2 Fix all the warning in the PSPSDK samples 2025-06-07 16:44:11 +02:00
Wouter Wijsman
a116123251 Merge pull request #297 from fjtrujy/fixSamplesGCC15
Fix GCC compilation samples
2025-06-06 11:54:06 +02:00
Francisco Javier Trujillo Mata
2a19c50015 Improve CI 2025-06-06 11:38:53 +02:00
Francisco Javier Trujillo Mata
b48adcf13c Fix GCC compilation samples 2025-06-06 11:34:31 +02:00
Wally4000
04778c12a8 Merge pull request #296 from davidgfnet/master
Tweak pspdev.cmake
2025-06-01 09:08:42 +10: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
Wouter Wijsman
269b39a14d Merge pull request #294 from sblondon/fix-comment
doc: fix goal of the file in the header comment
2025-05-18 19:26:23 +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
Wouter Wijsman
e756c4c2cd Merge pull request #293 from fjtrujy/fix_mipmapping
Fix mipmapping sample
2025-05-17 07:55:57 +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
Wouter Wijsman
e0fc8d7102 Merge pull request #289 from fjtrujy/gu_magic_numbers
Remove magic numbers from clear function
2025-05-14 09:33:19 +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
Francisco Javier Trujillo Mata
38b8f5f2cc Add implementation for bitmapwrite 2025-05-13 22:08:54 +02:00