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

Function cellCameraEnd

ps3fw/cellCamera.cpp:510–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510error_code cellCameraEnd()
511{
512 cellCamera.todo("cellCameraEnd()");
513
514 auto& g_camera = g_fxo->get<camera_thread>();
515
516 std::lock_guard lock(g_camera.mutex);
517
518 if (!g_camera.init)
519 {
520 return CELL_CAMERA_ERROR_NOT_INIT;
521 }
522
523 // TODO: call cellCameraClose(0), ignore errors
524
525 // TODO
526 g_camera.init = 0;
527 g_camera.reset_state();
528 return CELL_OK;
529}
530
531error_code cellCameraOpen(s32 dev_num, vm::ptr<CellCameraInfo> info)
532{

Callers

nothing calls this directly

Calls 1

reset_stateMethod · 0.45

Tested by

no test coverage detected