Don't crash emulator on no core config

This commit is contained in:
Sergey Stepanov 2021-08-26 15:22:01 +03:00
parent 904b0ae1bb
commit ed33460f38
No known key found for this signature in database
GPG key ID: A56B4929BAA8556B
3 changed files with 1 additions and 3 deletions

View file

@ -1 +0,0 @@
pcsx_rearmed_drc = disabled

1
configs/config.yaml vendored
View file

@ -143,7 +143,6 @@ emulator:
height: 160
pcsx:
lib: pcsx_rearmed_libretro
config: pcsx_rearmed_libretro.cfg
roms: [ "cue" ]
width: 350
height: 240

View file

@ -19,7 +19,7 @@ func ScanConfigFile(filename string) ConfigProperties {
}
file, err := os.Open(filename)
if err != nil {
log.Fatal(err)
log.Printf("warning: couldn't find the %v config file", filename)
return config
}
defer file.Close()