Warning fix in sceUsbCam

This commit is contained in:
Henrik Rydgård committed 2026-07-27 14:58:59 +02:00
1 parent d04c39db1d
commit 5c1d113279
1 file changed
+9 -7
+9 -7
View File
@@ -328,13 +328,15 @@ void Register_sceUsbCam()
}
std::vector<std::string> Camera::getDeviceList() {
#ifdef HAVE_WIN32_CAMERA
if (winCamera) {
return winCamera->getDeviceList();
}
#else
return System_GetCameraDeviceList();
#endif
#ifdef HAVE_WIN32_CAMERA
if (winCamera) {
return winCamera->getDeviceList();
} else {
return std::vector<std::string>();
}
#else
return System_GetCameraDeviceList();
#endif
}
int Camera::startCapture() {