mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
[VITA] MiniVitaTV Support
Set kernel model manually with sceCtrlIsMultiControllerSupported()
This commit is contained in:
parent
0d06dfa948
commit
65f406a39e
@ -86,7 +86,13 @@ static bool psp_joypad_init(void *data)
|
|||||||
(void)data;
|
(void)data;
|
||||||
|
|
||||||
#if defined(VITA)
|
#if defined(VITA)
|
||||||
psp2_model = sceKernelGetModelForCDialog();
|
if (!sceCtrlIsMultiControllerSupported())
|
||||||
|
{
|
||||||
|
psp2_model = SCE_KERNEL_MODEL_VITA;
|
||||||
|
} else if(sceCtrlIsMultiControllerSupported() > 0)
|
||||||
|
{
|
||||||
|
psp2_model = SCE_KERNEL_MODEL_VITATV;
|
||||||
|
}
|
||||||
if (psp2_model != SCE_KERNEL_MODEL_VITATV)
|
if (psp2_model != SCE_KERNEL_MODEL_VITATV)
|
||||||
{
|
{
|
||||||
sceTouchSetSamplingState(SCE_TOUCH_PORT_BACK, SCE_TOUCH_SAMPLING_STATE_START);
|
sceTouchSetSamplingState(SCE_TOUCH_PORT_BACK, SCE_TOUCH_SAMPLING_STATE_START);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user