mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 14:42:27 +00:00
Wait for asset thread when selecting overlay and/or shader.
This commit is contained in:
parent
758dc7e196
commit
2dcc133cab
@ -7,6 +7,7 @@ import android.os.Bundle;
|
||||
public class OverlayActivity extends DirectoryActivity {
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
MainMenuActivity.waitAssetThread();
|
||||
File overlayDir = new File(getBaseContext().getApplicationInfo().dataDir, "overlays");
|
||||
if (overlayDir.exists())
|
||||
super.setStartDirectory(overlayDir.getAbsolutePath());
|
||||
|
@ -7,6 +7,7 @@ import android.os.Bundle;
|
||||
public class ShaderActivity extends DirectoryActivity {
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
MainMenuActivity.waitAssetThread();
|
||||
File shaderDir = new File(getBaseContext().getApplicationInfo().dataDir, "shaders_glsl");
|
||||
if (shaderDir.exists())
|
||||
super.setStartDirectory(shaderDir.getAbsolutePath());
|
||||
|
Loading…
x
Reference in New Issue
Block a user