mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Warning fix in sceUsbCam
This commit is contained in:
1 parent
d04c39db1d
commit
5c1d113279
1 file changed
+9
-7
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user