Just a simple question: Is there a way to detect the type of the psp the homebrew is running on? I'm dreaming of an exception handler that prints also the psp type to make debuging as easy as possible.
Alois
detect type of psp?
detect type of psp?
Sorry for my bad English... I'm still learning
Function is found in kubridge.h which is part of the M33 SDK,
To use try something like...
Code: Select all
/**
* Gets the model of the PSP from user mode.
* This function is available since 3.60 M33.
* In previous version, use the kernel function sceKernelGetModel
*
* @return one of PspModel values
*/
int kuKernelGetModel(void);
Code: Select all
if (kuKernelGetModel() == PSP_MODEL_SLIM_AND_LITE) {
// Slim
}else{
// Fat
}