Provide the ability for clients of the Godot library to add their own command line arguments

This commit is contained in:
Fredia Huya-Kouadio 2020-05-27 02:12:54 -07:00
parent 84d9e10f88
commit 75100e5644

View File

@ -345,7 +345,8 @@ public abstract class Godot extends FragmentActivity implements SensorEventListe
return deviceInfo.reqGlEsVersion; return deviceInfo.reqGlEsVersion;
} }
private String[] getCommandLine() { @CallSuper
protected String[] getCommandLine() {
InputStream is; InputStream is;
try { try {
is = getAssets().open("_cl_"); is = getAssets().open("_cl_");