| 68 | } |
| 69 | |
| 70 | SceUID createStartUpdateThread(uint64_t max, int show_kbs) { |
| 71 | current_value = 0; |
| 72 | |
| 73 | UpdateArguments args; |
| 74 | args.max = max; |
| 75 | args.show_kbs = show_kbs; |
| 76 | |
| 77 | SceUID thid = sceKernelCreateThread("update_thread", (SceKernelThreadEntry)update_thread, 0xBF, 0x4000, 0, 0, NULL); |
| 78 | if (thid >= 0) |
| 79 | sceKernelStartThread(thid, sizeof(UpdateArguments), &args); |
| 80 | |
| 81 | return thid; |
| 82 | } |
| 83 | |
| 84 | int delete_thread(SceSize args_size, DeleteArguments *args) { |
| 85 | SceUID thid = -1; |
no outgoing calls
no test coverage detected