| 1523 | } |
| 1524 | |
| 1525 | error_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 | |
| 1551 | error_code cellCameraSetNotifyEventQueue2(u64 key, u64 source, u64 flag) |
| 1552 | { |
no test coverage detected