mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 09:34:40 -06:00
Set init var
This commit is contained in:
parent
d00222be11
commit
307af1297b
@ -93,9 +93,11 @@ namespace CameraManager
|
||||
std::scoped_lock lock(s_mutex);
|
||||
if (s_initialized)
|
||||
return;
|
||||
s_initialized = true;
|
||||
s_mutex.unlock();
|
||||
s_running = true;
|
||||
s_captureThread = std::thread(&CaptureWorker);
|
||||
|
||||
s_ctx = Cap_createContext();
|
||||
|
||||
const auto uniqueId = GetConfig().camera_id.GetValue();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user