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

Function UsbViewerJpegThread

projects/uSystem/source/main.cpp:1443–1450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1441 }
1442
1443 void UsbViewerJpegThread(void*) {
1444 while(true) {
1445 rwlockReadLock(&g_UsbRwLock);
1446 g_UsbViewerBuffer->jpeg.size = (u32)CaptureJpegScreenshot();
1447 rwlockReadUnlock(&g_UsbRwLock);
1448 svcSleepThread(1'000'000ul);
1449 }
1450 }
1451
1452 void CheckHomebrewTakeoverApplicationId() {
1453 ul::ScopedLock lk(g_ConfigLock);

Callers

nothing calls this directly

Calls 1

CaptureJpegScreenshotFunction · 0.85

Tested by

no test coverage detected