mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 05:08:02 -05:00
Merge pull request #8636 from german77/irs_cluster_release
service: irs: Implement clustering processor
This commit is contained in:
@ -804,6 +804,7 @@ void GRenderWindow::TouchEndEvent() {
|
||||
}
|
||||
|
||||
void GRenderWindow::InitializeCamera() {
|
||||
constexpr auto camera_update_ms = std::chrono::milliseconds{50}; // (50ms, 20Hz)
|
||||
if (!Settings::values.enable_ir_sensor) {
|
||||
return;
|
||||
}
|
||||
@ -837,7 +838,7 @@ void GRenderWindow::InitializeCamera() {
|
||||
camera_timer = std::make_unique<QTimer>();
|
||||
connect(camera_timer.get(), &QTimer::timeout, [this] { RequestCameraCapture(); });
|
||||
// This timer should be dependent of camera resolution 5ms for every 100 pixels
|
||||
camera_timer->start(100);
|
||||
camera_timer->start(camera_update_ms);
|
||||
}
|
||||
|
||||
void GRenderWindow::FinalizeCamera() {
|
||||
|
Reference in New Issue
Block a user