save rom dir (#845)

This commit is contained in:
Logan McNaughton 2026-05-06 13:17:28 +02:00 committed by GitHub
parent 7015d44da7
commit 6d4d5468f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -418,6 +418,7 @@ fn controller_window(app: &AppWindow, config: &ui::config::Config) {
pub fn save_settings(app: &AppWindow) {
let mut config = ui::config::Config::new();
config.rom_dir = app.get_rom_dir().to_string().into();
config.video.integer_scaling = app.get_integer_scaling();
config.video.ssaa = app.get_ssaa();
config.video.fullscreen = app.get_fullscreen();