From ec4564471c152f963e8d961dcdfd00aed80182b3 Mon Sep 17 00:00:00 2001 From: Collecting Date: Thu, 15 Jan 2026 06:14:44 +0000 Subject: [PATCH] feat(per-game): Add BasicSetting for Settings Sharing Signed-off-by: Collecting --- src/citron/configuration/shared_widget.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/citron/configuration/shared_widget.h b/src/citron/configuration/shared_widget.h index 2a5c44639..8f61bb2ec 100644 --- a/src/citron/configuration/shared_widget.h +++ b/src/citron/configuration/shared_widget.h @@ -1,4 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 citron Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once @@ -81,6 +82,9 @@ public: */ bool Valid() const; + // Settings sharing + Settings::BasicSetting& GetSetting() { return setting; } + /** * Creates a button to appear when a setting has been modified. This exists for custom * configurations and wasn't designed to work for the global configuration. It has public access