Sorry for my bad English, I'm French!
When I make my Eboot with pspdev, I have this error:
My main.c:
Code: Select all
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspdisplay.h>
#include <pspctrl.h>
PSP_MODULE_INFO("recoveryload", 0x1000, 1, 0);
PSP_MAIN_THREAD_ATTR(0);
#define PATH "flash0:/vsh/module/recovery.prx"
//init from flash//
int main_thread(SceSize args, void *argp)
{
SceCtrlData pad;
while(0)
{
sceCtrlReadBufferPositive(&pad, 1);
if(pad.Buttons & PSP_CTRL_CROSS)
{
struct SceKernelLoadExecParam param;
sceKernelLoadExec(PATH, ¶m);
}
}
return 0;
}
Code: Select all
TARGET = MyNameIsFW3x
OBJS = main.o
INCDIR =
# vvvvvvvv
CFLAGS = -O2 -G0 -Wall -DPSPFW3X
# ^^^^^^^^
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
# vvvvvvvv
BUILD_PRX=1
PSP_FW_VERSION=303
# ^^^^^^^^
LIBDIR =
LDFLAGS =
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = MyNameIsFW3x
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
Thank you,
Wallaby