Пример #1
0
int is_ta88v3(void)
{
	u32 model, tachyon;

	tachyon = sceSysregGetTachyonVersion();
	model = kuKernelGetModel();

	if(model == 1 && tachyon == 0x00600000) {
		return 1;
	}

	return 0;
}
Пример #2
0
int sceHibariInit()
{
	Kprintf("Hibari Display Driver Clone v 0.1\n");
	Kprintf("Copyright (C) 2007, Dark_AleX\n");
	
	int tachyon = sceSysregGetTachyonVersion();

	Kprintf("Tachyon version = 0x%08X.\n", tachyon);

	if (tachyon < 0x00500000)
		return 0x80000004;

	_Init();

	hibari_struct[0] = 0;
	st2.ptr = NULL;
	st2.unk1 = 0;	
	sceKernelRegisterSysEventHandler(&event_handler);
	
	return 0;
}