mirror of
https://github.com/holub/mame
synced 2025-04-28 03:02:52 +03:00
mameopts: Don't lose the system inipath when looking for hashpath [O. Galibert]
This commit is contained in:
parent
ea6babb2b3
commit
c2df39ba1d
@ -160,6 +160,10 @@ void mame_options::populate_hashpath_from_args_and_inis(emu_options &options, co
|
|||||||
|
|
||||||
// parse the command line
|
// parse the command line
|
||||||
emu_options temp_options(emu_options::option_support::GENERAL_AND_SYSTEM);
|
emu_options temp_options(emu_options::option_support::GENERAL_AND_SYSTEM);
|
||||||
|
|
||||||
|
// pick up whatever changes the osd did to the default inipath
|
||||||
|
temp_options.set_default_value(OPTION_INIPATH, options.ini_path());
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
temp_options.parse_command_line(args, OPTION_PRIORITY_CMDLINE, true);
|
temp_options.parse_command_line(args, OPTION_PRIORITY_CMDLINE, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user