aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-12 17:05:30 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 10:56:54 -0400
commite0d6f3435ef125796dde5aa8cc22efa404c17e00 (patch)
treec308cfcddc0ffd20561114559329411242e31bb5 /src/common/settings.cpp
parent9eee6311545efa60294df78c0a0f7374b2551caf (diff)
settings: Move some simple data to BasicSetting
Reduces the need for the compiler to duplicate this code, by about 100KB executable size.
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 10cdea8442..d98dd29256 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -282,14 +282,6 @@ void UpdateRescalingInfo() {
info.active = info.up_scale != 1 || info.down_shift != 0;
}
-std::string BasicSetting::ToStringGlobal() const {
- return {};
-}
-
-bool BasicSetting::UsingGlobal() const {
- return true;
-}
-
void RestoreGlobalState(bool is_powered_on) {
// If a game is running, DO NOT restore the global settings state
if (is_powered_on) {