summaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-12-17 23:54:47 -0600
committergerman77 <juangerman-13@hotmail.com>2022-12-17 23:54:47 -0600
commitc489cbee29102404c86502834ac842c75a815b40 (patch)
tree6d4a55f19bf4f85f963a85822883e7dfef3a78c7 /src/yuzu/bootmanager.h
parentdffeca66fa932cc6f89b2174009306366f66872a (diff)
bootmanager: Encapsulate all QCamera code
Diffstat (limited to 'src/yuzu/bootmanager.h')
-rw-r--r--src/yuzu/bootmanager.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h
index 5bbcf61f7..514437359 100644
--- a/src/yuzu/bootmanager.h
+++ b/src/yuzu/bootmanager.h
@@ -242,16 +242,16 @@ private:
bool first_frame = false;
InputCommon::TasInput::TasState last_tas_state;
- bool is_virtual_camera;
- int pending_camera_snapshots;
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) && YUZU_USE_QT_MULTIMEDIA
- std::unique_ptr<QCamera> camera;
- std::unique_ptr<QCameraImageCapture> camera_capture;
static constexpr std::size_t CAMERA_WIDTH = 320;
static constexpr std::size_t CAMERA_HEIGHT = 240;
+ bool is_virtual_camera;
+ int pending_camera_snapshots;
std::vector<u32> camera_data;
-#endif
+ std::unique_ptr<QCamera> camera;
+ std::unique_ptr<QCameraImageCapture> camera_capture;
std::unique_ptr<QTimer> camera_timer;
+#endif
Core::System& system;