Skip to content

Commit

Permalink
Slightly modified #90
Browse files Browse the repository at this point in the history
Former-commit-id: 6d80079
  • Loading branch information
tkashkin committed Sep 27, 2018
1 parent 31de3d0 commit fbd99e9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/data/compat/DOSBox.vala
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@ namespace GameHub.Data.Compat

var configs = find_configs(game.install_dir);

if(configs.size > 2 && game is GameHub.Data.Sources.GOG.GOGGame)
{
foreach(var conf in configs)
{
if(conf.has_suffix("_single.conf"))
{
configs.clear();
configs.add(conf.replace("_single.conf", ".conf"));
configs.add(conf);
break;
}
}
}

foreach(var conf in configs)
{
cmd += "-conf";
Expand Down

0 comments on commit fbd99e9

Please sign in to comment.