| 1430 | } |
| 1431 | |
| 1432 | void UsbViewerRgbaThread(void*) { |
| 1433 | bool tmp_flag; |
| 1434 | while(true) { |
| 1435 | rwlockReadLock(&g_UsbRwLock); |
| 1436 | appletGetLastForegroundCaptureImageEx(g_UsbViewerBufferDataOffset, PlainRgbaScreenBufferSize, &tmp_flag); |
| 1437 | appletUpdateLastForegroundCaptureImage(); |
| 1438 | rwlockReadUnlock(&g_UsbRwLock); |
| 1439 | svcSleepThread(1'000'000ul); |
| 1440 | } |
| 1441 | } |
| 1442 | |
| 1443 | void UsbViewerJpegThread(void*) { |
| 1444 | while(true) { |
nothing calls this directly
no outgoing calls
no test coverage detected