mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-23 01:56:08 -04:00
feat(per-game): Add BasicSetting for Settings Sharing
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 citron Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
@@ -81,6 +82,9 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool Valid() const;
|
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
|
* 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
|
* configurations and wasn't designed to work for the global configuration. It has public access
|
||||||
|
|||||||
Reference in New Issue
Block a user