ANDROID: Added a note comment about scummvm.ini location

Location is directly inside the app's internal storage folder

I am not sure if I did this by mistake, because I think it would be better for it
to be under the subpath ".config/scummvm" which we do create earlier.
However, this *mistake* makes the file easier accessible via the "LAN" feature,
since otherwise the user has to also enable the "show hidden files" option
and navigate specifically to the ".config/scummvm" subpath
to set it as root for the LAN server, in order to see the scummvm.ini.
In the current way, the user simply has to set the internal app folder
as root for the LAN server.
This commit is contained in:
antoniou 2020-11-13 10:42:31 +02:00
parent de9aa236d7
commit 0a7dd239e7

View file

@ -1564,6 +1564,14 @@ public class ScummVMActivity extends Activity implements OnKeyboardVisibilityLis
final Version version2_2_1_forPatch = new Version("2.2.1"); // patch for 2.2.1 Beta1 purposes
boolean existingConfigInScummVMDataDirReplacedOnce = false; // patch for 2.2.1 Beta1 purposes
// NOTE: our config file scummvm.ini is created directly inside the ScummVM internal app path
// this is probably due to a mistake (?), since we do create a config path for it above
// ( in File internalScummVMConfigDir , the sub-path ".config/scummvm")
// However, this is harmless, so we can keep it this way.
// Or we could change it in a future version.
// Keep in mind that changing the scummvm.ini config file location would require at the very least:
// - Moving the old scummvm.ini (if upgrading) to the new location and deleting it from the old one
// - Updating the ScummVM documentation about the new location
_configScummvmFile = new File(_actualScummVMDataDir, "scummvm.ini");
try {