MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / cellCameraReadComplete

Function cellCameraReadComplete

ps3fw/cellCamera.cpp:1440–1452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1438}
1439
1440error_code cellCameraReadComplete(s32 dev_num, u32 bufnum, u32 arg2)
1441{
1442 cellCamera.todo("cellCameraReadComplete(dev_num=%d, bufnum=%d, arg2=%d)", dev_num, bufnum, arg2);
1443
1444 if (bufnum < 2)
1445 {
1446 auto& g_camera = g_fxo->get<camera_thread>();
1447 std::lock_guard lock(g_camera.mutex);
1448 g_camera.pbuf_locked[bufnum] = false;
1449 }
1450
1451 return cellCameraSetAttribute(dev_num, CELL_CAMERA_READFINISH, bufnum, arg2);
1452}
1453
1454error_code cellCameraStop(s32 dev_num)
1455{

Callers

nothing calls this directly

Calls 1

cellCameraSetAttributeFunction · 0.85

Tested by

no test coverage detected