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

Function cellCameraRemoveNotifyEventQueue

ps3fw/cellCamera.cpp:1525–1549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1523}
1524
1525error_code cellCameraRemoveNotifyEventQueue(u64 key)
1526{
1527 cellCamera.notice("cellCameraRemoveNotifyEventQueue(key=0x%x)", key);
1528
1529 auto& g_camera = g_fxo->get<camera_thread>();
1530
1531 if (!g_camera.init)
1532 {
1533 return CELL_CAMERA_ERROR_NOT_INIT;
1534 }
1535
1536 if (g_cfg.io.camera == camera_handler::null)
1537 {
1538 return CELL_OK;
1539 }
1540
1541 if (error_code error = check_resolution(0))
1542 {
1543 return error;
1544 }
1545
1546 g_camera.remove_queue(key);
1547
1548 return CELL_OK;
1549}
1550
1551error_code cellCameraSetNotifyEventQueue2(u64 key, u64 source, u64 flag)
1552{

Callers 1

Calls 2

check_resolutionFunction · 0.85
remove_queueMethod · 0.80

Tested by

no test coverage detected