Merge pull request #297 from fjtrujy/fixSamplesGCC15

Fix GCC compilation samples
This commit is contained in:
Wouter Wijsman
2025-06-06 11:54:06 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ jobs:
- name: Compile Examples
run: |
cd src/samples && make -f Makefile.samples
cd src/samples && make -f Makefile.samples -j $(getconf _NPROCESSORS_ONLN)
- name: Compress Samples folder folder
run: |

View File

@@ -19,7 +19,7 @@ make clean
make -j $(getconf _NPROCESSORS_ONLN)
## Install pspsdk
make install
make install -j $(getconf _NPROCESSORS_ONLN)
## gcc needs to include libcglue libpthreadglue libpspprof libpsputility libpsprtc libpspnet_inet libpspnet_resolver libpspsdk libpspmodinfo libpspuser libpspkernel
## from pspsdk to be able to build executables, because they are part of the standard libraries

View File

@@ -30,7 +30,7 @@ PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU);
#define setBackColor pspDebugScreenSetBackColor
/* Exit callback */
int exit_callback()
int exit_callback(int count, int arg, void *argp)
{
sceKernelExitGame();