We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d9664 commit e2d0871Copy full SHA for e2d0871
src/Cafe/OS/libs/camera/camera.cpp
@@ -181,7 +181,7 @@ namespace camera
181
sint32 CAMInit(uint32 cameraId, CAMInitInfo_t* camInitInfo, uint32be* error)
182
{
183
CameraInstance* camInstance = new CameraInstance(camInitInfo->width, camInitInfo->height, camInitInfo->handlerFuncPtr);
184
-
+ *error = 0; // Hunter's Trophy 2 will fail to boot if we don't set this
185
std::unique_lock<std::recursive_mutex> _lock(g_mutex_camera);
186
if (g_cameraCounter == 0)
187
0 commit comments