mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-10-07 19:03:29 +00:00
Partial workaround for #12588. Cameras are now gone from settings though after playing one game...
This commit is contained in:
parent
81b42df7c2
commit
97c81ac5a2
@ -483,7 +483,7 @@ bool WindowsCaptureDevice::start() {
|
||||
}
|
||||
|
||||
if (!m_pReader)
|
||||
hr = -1;
|
||||
hr = E_FAIL;
|
||||
|
||||
if (SUCCEEDED(hr)) {
|
||||
switch (type) {
|
||||
@ -730,6 +730,9 @@ void WindowsCaptureDevice::messageHandler() {
|
||||
CoUninitialize();
|
||||
|
||||
updateState(CAPTUREDEVIDE_STATE::SHUTDOWN);
|
||||
|
||||
// Make sure we don't try to loop through the devices later in getDeviceList()...
|
||||
param = {};
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user