Yoti
03.11.2016, 21:37
Мои заметки.
Управление
#include <pspctrl.h>
>>
#include <psp2/ctrl.h>
sceCtrlReadBufferPositive(&pad, 1);
>>
sceCtrlReadBufferPositive(0, &pad, 1);
pad.Buttons
>>
pad.buttons
PSP_CTRL_CROSS // PSP_CTRL_*
>>
SCE_CTRL_CROSS // SCE_CTRL_*
makefile
++
LIBS = -lSceCtrl_stub
Выход
sceKernelExitGame();
>>
sceKernelExitProcess(0);
Экран
pspDebugScreenInit();
pspDebugScreenClear();
>>
psvDebugScreenInit();
psvDebugScreenClear(0);
Управление
#include <pspctrl.h>
>>
#include <psp2/ctrl.h>
sceCtrlReadBufferPositive(&pad, 1);
>>
sceCtrlReadBufferPositive(0, &pad, 1);
pad.Buttons
>>
pad.buttons
PSP_CTRL_CROSS // PSP_CTRL_*
>>
SCE_CTRL_CROSS // SCE_CTRL_*
makefile
++
LIBS = -lSceCtrl_stub
Выход
sceKernelExitGame();
>>
sceKernelExitProcess(0);
Экран
pspDebugScreenInit();
pspDebugScreenClear();
>>
psvDebugScreenInit();
psvDebugScreenClear(0);