feat(per-game): Add BasicSetting for Settings Sharing

Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
Collecting
2026-01-15 06:14:44 +00:00
parent 77dc25bf5b
commit ec4564471c

View File

@@ -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