mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 16:37:56 -05:00
settings: Move some simple data to BasicSetting
Reduces the need for the compiler to duplicate this code, by about 100KB executable size.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user