Ave,
I've found that many GBA roms, which don't run on gPSP emulator, work fine on Visual Boy Advance (on windows xp). So I decided to port VBA to wiz.
I've compiled VBA2x (VBA source prepared for gp2x), and when I run it with every GBA rom, I receive the system message:
"insmod: cannot insert `mmuhack.o': Invalid module format (-1): Exec format error"
mmuhack module is used in GBA.cpp, in function CPULoadRom(const char *szFile) :
//Try to apply MMU hack.
int mmufd = open("/dev/mmuhack", O_RDWR);
if(mmufd < 0) {
system("/sbin/insmod mmuhack.o");
mmufd = open("/dev/mmuhack", O_RDWR);
}
if(mmufd < 0)
{
printf("MMU hack failed\n");
}else{
close(mmufd);
}
//...
Does anybody know what is wrong? I've used different versions of mmuhack.o, and still it doesn't work.
Maybe someone has ported VBA to Wiz already?
I've found that many GBA roms, which don't run on gPSP emulator, work fine on Visual Boy Advance (on windows xp). So I decided to port VBA to wiz.
I've compiled VBA2x (VBA source prepared for gp2x), and when I run it with every GBA rom, I receive the system message:
"insmod: cannot insert `mmuhack.o': Invalid module format (-1): Exec format error"
mmuhack module is used in GBA.cpp, in function CPULoadRom(const char *szFile) :
//Try to apply MMU hack.
int mmufd = open("/dev/mmuhack", O_RDWR);
if(mmufd < 0) {
system("/sbin/insmod mmuhack.o");
mmufd = open("/dev/mmuhack", O_RDWR);
}
if(mmufd < 0)
{
printf("MMU hack failed\n");
}else{
close(mmufd);
}
//...
Does anybody know what is wrong? I've used different versions of mmuhack.o, and still it doesn't work.
Maybe someone has ported VBA to Wiz already?