MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / UsbViewerRgbaThread

Function UsbViewerRgbaThread

projects/uSystem/source/main.cpp:1432–1441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected