Don't send invalid paths to MAME

Waterbox cores can't create files anyways, and trying to send in ? might make MAME try to make the directory anyways (which crashes due to the syscall for that being unimplemented), while "" will not do that
This commit is contained in:
CasualPokePlayer 2023-04-19 18:41:05 -07:00
parent 281e3be4a8
commit 8cf820da4d
1 changed files with 3 additions and 3 deletions

View File

@ -154,9 +154,9 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME
, "-rompath", "" // mame doesn't load roms from full paths, only from dirs to scan
, "-joystick_contradictory" // allow L+R/U+D on digital joystick
, "-nvram_directory", "" // path to nvram from
, "-artpath", "?" // path to artwork
, "-diff_directory", "?" // path to hdd diffs
, "-cfg_directory", "?" // path to config
, "-artpath", "" // path to artwork
, "-diff_directory", "" // path to hdd diffs
, "-cfg_directory", "" // path to config
, "-volume", "-32" // lowest attenuation means mame osd remains silent
, "-output", "console" // print everything to hawk console
, "-samplerate", _sampleRate.ToString() // match hawk samplerate