Skip to content

Commit a116123

Browse files
authored
Merge pull request #297 from fjtrujy/fixSamplesGCC15
Fix GCC compilation samples
2 parents 04778c1 + 2a19c50 commit a116123

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/compilation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Compile Examples
3333
run: |
34-
cd src/samples && make -f Makefile.samples
34+
cd src/samples && make -f Makefile.samples -j $(getconf _NPROCESSORS_ONLN)
3535
3636
- name: Compress Samples folder folder
3737
run: |

build-and-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ make clean
1919
make -j $(getconf _NPROCESSORS_ONLN)
2020

2121
## Install pspsdk
22-
make install
22+
make install -j $(getconf _NPROCESSORS_ONLN)
2323

2424
## gcc needs to include libcglue libpthreadglue libpspprof libpsputility libpsprtc libpspnet_inet libpspnet_resolver libpspsdk libpspmodinfo libpspuser libpspkernel
2525
## from pspsdk to be able to build executables, because they are part of the standard libraries

src/samples/debug/debugkb/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU);
3030
#define setBackColor pspDebugScreenSetBackColor
3131

3232
/* Exit callback */
33-
int exit_callback()
33+
int exit_callback(int count, int arg, void *argp)
3434
{
3535
sceKernelExitGame();
3636

0 commit comments

Comments
 (0)