I am guessing something is wrong with my exit callbacks.
Code: Select all
int CALLBACKS_exit( int arg1, int arg2, void *common )
{
	(void)arg1;
	(void)arg2;
	(void)common;
	sceKernelExitGame();
	return 0;
}
int CALLBACKS_thread( SceSize args, void *argp )
{
	const int cbid = sceKernelCreateCallback( "Exit Callback", CALLBACKS_exit, NULL );
	sceKernelRegisterExitCallback( cbid );
	sceKernelSleepThreadCB();
	return 0;
}
int CALLBACKS_setup(void)
{
	const int thid = sceKernelCreateThread( "update_thread", CALLBACKS_thread, 0x11, 0xFA0, 0, 0 );
	if( thid >= 0 )
	{
		sceKernelStartThread( thid, 0, 0 );
	}
	return thid;
} 
Thanks,
~S