summaryrefslogtreecommitdiff
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
commit11e7e1b8cec5a665bdc6c9e702f83ad6ea35dd6b (patch)
treec308cfcddc0ffd20561114559329411242e31bb5 /src/common/settings.cpp
parent4903f40efe7b0c193309708ea01bd6abea8bac16 (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 10cdea844..d98dd2925 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) {