mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 08:41:34 +00:00
Merge pull request #297 from fjtrujy/fixSamplesGCC15
Fix GCC compilation samples
This commit is contained in:
2
.github/workflows/compilation.yml
vendored
2
.github/workflows/compilation.yml
vendored
@@ -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: |
|
||||
|
@@ -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
|
||||
|
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user