mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-31 22:11:38 +00:00
Don't crash emulator on no core config
This commit is contained in:
parent
904b0ae1bb
commit
ed33460f38
3 changed files with 1 additions and 3 deletions
1
assets/cores/pcsx_rearmed_libretro.cfg
vendored
1
assets/cores/pcsx_rearmed_libretro.cfg
vendored
|
|
@ -1 +0,0 @@
|
|||
pcsx_rearmed_drc = disabled
|
||||
1
configs/config.yaml
vendored
1
configs/config.yaml
vendored
|
|
@ -143,7 +143,6 @@ emulator:
|
|||
height: 160
|
||||
pcsx:
|
||||
lib: pcsx_rearmed_libretro
|
||||
config: pcsx_rearmed_libretro.cfg
|
||||
roms: [ "cue" ]
|
||||
width: 350
|
||||
height: 240
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue