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

Method open_camera

ps3fw/cellCamera.cpp:1752–1765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1750}
1751
1752bool camera_context::open_camera()
1753{
1754 Emu.BlockingCallFromMainThread([this]()
1755 {
1756 handler.reset();
1757 handler = Emu.GetCallbacks().get_camera_handler();
1758 if (handler)
1759 {
1760 handler->open_camera();
1761 }
1762 });
1763
1764 return !handler || on_handler_state(handler->get_state());
1765}
1766
1767bool camera_context::start_camera()
1768{

Callers 2

cellCameraOpenExFunction · 0.45
on_handler_stateMethod · 0.45

Calls 3

resetMethod · 0.45
get_stateMethod · 0.45

Tested by

no test coverage detected