DiskShaderCacheProgress.java: Add log for when EmulationActivity
is not present
This commit is contained in:
parent
8b7055f33e
commit
164006d8ba
@ -115,6 +115,7 @@ public class DiskShaderCacheProgress {
|
||||
public static void loadProgress(LoadCallbackStage stage, int progress, int max) {
|
||||
final EmulationActivity emulationActivity = NativeLibrary.sEmulationActivity.get();
|
||||
if (emulationActivity == null) {
|
||||
Log.error("[DiskShaderCacheProgress] EmulationActivity not present");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user