feat: remove the option to disable periodic writes
This commit is contained in:
parent
2f522d3b35
commit
445f545ce8
3 changed files with 0 additions and 27 deletions
|
@ -48,9 +48,6 @@ fps-unlocker = FPS Unlocker
|
||||||
enabled = Enabled
|
enabled = Enabled
|
||||||
fps-unlocker-description = Remove frames rendering limitation by modifying the game's memory. Can be detected by the anti-cheat
|
fps-unlocker-description = Remove frames rendering limitation by modifying the game's memory. Can be detected by the anti-cheat
|
||||||
|
|
||||||
periodic-unlock = Periodic overwrites
|
|
||||||
periodic-unlock-description = Periodically overwrite the FPS limit value in the game to prevent it from dropping
|
|
||||||
|
|
||||||
unlock-interval = Overwrite interval
|
unlock-interval = Overwrite interval
|
||||||
unlock-interval-description = Delay in milliseconds between overwrites
|
unlock-interval-description = Delay in milliseconds between overwrites
|
||||||
|
|
||||||
|
|
|
@ -48,9 +48,6 @@ fps-unlocker = FPS Unlocker
|
||||||
enabled = Включен
|
enabled = Включен
|
||||||
fps-unlocker-description = Изменить ограничение частоты кадров путём модификации памяти игры. Может быть обнаружено античитом
|
fps-unlocker-description = Изменить ограничение частоты кадров путём модификации памяти игры. Может быть обнаружено античитом
|
||||||
|
|
||||||
periodic-unlock = Периодическая перезапись
|
|
||||||
periodic-unlock-description = Периодически перезаписывать значение ограничения частоты кадров, чтобы предотвратить его сброс
|
|
||||||
|
|
||||||
unlock-interval = Задержка между перезаписями
|
unlock-interval = Задержка между перезаписями
|
||||||
unlock-interval-description = Задержка между перезаписями в миллисекундах
|
unlock-interval-description = Задержка между перезаписями в миллисекундах
|
||||||
|
|
||||||
|
|
|
@ -602,27 +602,6 @@ impl SimpleAsyncComponent for EnhancementsApp {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
adw::ActionRow {
|
|
||||||
set_title: &tr!("periodic-unlock"),
|
|
||||||
set_subtitle: &tr!("periodic-unlock-description"),
|
|
||||||
|
|
||||||
add_suffix = >k::Switch {
|
|
||||||
set_valign: gtk::Align::Center,
|
|
||||||
|
|
||||||
set_state: CONFIG.game.enhancements.fps_unlocker.config.periodic_writes,
|
|
||||||
|
|
||||||
connect_state_notify => |switch| {
|
|
||||||
if is_ready() {
|
|
||||||
if let Ok(mut config) = Config::get() {
|
|
||||||
config.game.enhancements.fps_unlocker.config.periodic_writes = switch.state();
|
|
||||||
|
|
||||||
Config::update(config);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
adw::ActionRow {
|
adw::ActionRow {
|
||||||
set_title: &tr!("unlock-interval"),
|
set_title: &tr!("unlock-interval"),
|
||||||
set_subtitle: &tr!("unlock-interval-description"),
|
set_subtitle: &tr!("unlock-interval-description"),
|
||||||
|
|
Loading…
Reference in a new issue