id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,game 8689,SWORD1: Possible patch for bug #1730183,eriktorbjorn,sev-,"{{{#!Markdown As described in bug \#1730183, when changing the game settings by using the Broken Sword 1 options dialog, they're not saved in the ScummVM config file. This patch tries to fix that. This is not entirely without complications. Unlike ScummVM's option dialog, the BS1 one has separate volume settings for the left and right channel. I'm not sure if there's any really sensible way of handling this, but here's how it's done in this patch: For each of the volume settings, e.g. ""music\_volume"", there are two extra settings, e.g. ""music\_volume\_left"" and ""music\_volume\_right"". The BS1 options dialog will either store the standard setting or the left/right settings, but never both. The unused volume settings are removed. However, it's possible to get both by using both dialogs. When loading the settings, if there is a standard setting made explicitly for the active domain, we use that. Otherwise, if there is a left/right setting, we use that. As a last resort, use the standard setting which will then be the one from the \[scummvm\] section. It looks like a hack, it feels like a hack... maybe it is a hack. I'm not sure. }}} {{{#!div style=""font-size: 75%"" Ticket imported from: !#1733017. Ticket imported from: patches/794. }}}",patch,closed,normal,Engine: Sword1,,,,,Broken Sword 1