engine/sdl/gp2x/gp2xport.c
/* Call this MMU Hack kernel module after doing mmap, and before doing memset */
Call this MMU Hack kernel module after doing mmap, and before doing memset
Call this MMU Hack kernel module after doing mmap and before doing memset
int mmuhack()
{
#ifndef WIZ
	int mmufd;
	system("/sbin/rmmod mmuhack");
	system("/sbin/insmod mmuhack.o");
	mmufd = open("/dev/mmuhack", O_RDWR);
	if(mmufd < 0) return 0;
	close(mmufd);
#endif
	return 1;
}
int mmuhack ( ) { #ifndef WIZ int mmufd ; system ( " " ) ; system ( " " ) ; mmufd = open ( " " , O_RDWR ) ; if ( mmufd < 0 ) return 0 ; close ( mmufd ) ; #endif return 1 ; }
Call this MMU Hack kernel module after doing mmap, and before doing memset
Call this MMU Hack kernel module after doing mmap and before doing memset