landscape_layout_option is used to determine the layout when running a game, but only layout_option is written to config-mmj.ini when the layout is chosen in the menu #846
The device I'm using is an Anbernic RG405M, running GammaOS. This is a landscape-only device.
Test procedure:
Start the app
choose a non-default screen layout in the menu (e.g. single screen)
come out of the settings and close the app properly, to make sure the settings are saved properly
start the app again and run a game
The game uses the default screen layout (a vertical layout with the two screens one above the other) regardless of the option I chose in the menu.
While running a game, if I choose a non-default screen layout in the menu (and close the app properly in order to make sure the settings are saved), the layout is preserved the next time I run the game.
By looking at the config files, I have observed the following:
the first time I change the layout in-game, it creates a per-game config with both layout_option and landscape_layout_option set to the value I selected
if I change the layout in-game on a subsequent run, only landscape_layout_option is changed in the per-game config file
if I change the layout when not in-game, the chosen value is written to layout_option in config-mmj.ini; landscape_layout_option is never set in that file
if I manually add landscape_layout_option to config-mmj.ini, then games use that to determine the screen layout (unless they have a per-game config)
The effect of this is that I am unable to use the app's menu to set a global screen layout setting and I have to set it in-game for every game.
The device I'm using is an Anbernic RG405M, running GammaOS. This is a landscape-only device.
Test procedure:
The game uses the default screen layout (a vertical layout with the two screens one above the other) regardless of the option I chose in the menu.
While running a game, if I choose a non-default screen layout in the menu (and close the app properly in order to make sure the settings are saved), the layout is preserved the next time I run the game.
By looking at the config files, I have observed the following:
layout_option
andlandscape_layout_option
set to the value I selectedlandscape_layout_option
is changed in the per-game config filelayout_option
inconfig-mmj.ini
;landscape_layout_option
is never set in that filelandscape_layout_option
toconfig-mmj.ini
, then games use that to determine the screen layout (unless they have a per-game config)The effect of this is that I am unable to use the app's menu to set a global screen layout setting and I have to set it in-game for every game.
I'm happy to add clarification if requested.