From 55bf2af6b473743b2dcc15c3a40b4adcf8b0e30a Mon Sep 17 00:00:00 2001 From: Yoti Date: Sun, 21 Feb 2021 22:40:14 +0300 Subject: [PATCH] v0.8-final --- main.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/main.c b/main.c index 0787948..79c413b 100644 --- a/main.c +++ b/main.c @@ -11,6 +11,7 @@ #define VER_MINOR 8 #define VER_BUILD "" +#define VAL_LENGTH 0x10 #define VAL_PUBLIC 0x0A #define VAL_PRIVATE 0x06 @@ -73,11 +74,12 @@ int main(int argc, char *argv[]) unsigned char idps_text_char_2nd[1]; char idps_text_buffer[32] = ""; - sceKernelDelayThread(1000000); - sceCtrlReadBufferPositive(0, &pad, 1); - sceKernelDelayThread(1000000); - if (pad.buttons & SCE_CTRL_LTRIGGER) - paranoid = 1; + for (i = 0; i < 1000; i++) { + sceCtrlReadBufferPositive(0, &pad, 1); + if (pad.buttons & SCE_CTRL_LTRIGGER) + paranoid = 1; + sceKernelDelayThread(1000); + } psvDebugScreenInit(); psvDebugScreenClear(0);