mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
Fix crashes
This commit is contained in:
parent
6a483ba018
commit
6d61983049
2 changed files with 1 additions and 2 deletions
|
@ -89,6 +89,7 @@ AlberFunction(void, Finalize)(JNIEnv* env, jobject obj) {
|
||||||
emulator = nullptr;
|
emulator = nullptr;
|
||||||
hidService = nullptr;
|
hidService = nullptr;
|
||||||
renderer = nullptr;
|
renderer = nullptr;
|
||||||
|
romLoaded = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
AlberFunction(jboolean, HasRomLoaded)(JNIEnv* env, jobject obj) { return romLoaded; }
|
AlberFunction(jboolean, HasRomLoaded)(JNIEnv* env, jobject obj) { return romLoaded; }
|
||||||
|
|
|
@ -18,8 +18,6 @@ import com.panda3ds.pandroid.app.preferences.screen_editor.ScreenLayoutsPreferen
|
||||||
import com.panda3ds.pandroid.data.config.GlobalConfig;
|
import com.panda3ds.pandroid.data.config.GlobalConfig;
|
||||||
import com.panda3ds.pandroid.utils.FileUtils;
|
import com.panda3ds.pandroid.utils.FileUtils;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
|
|
||||||
public class GeneralPreferences extends BasePreferenceFragment implements ActivityResultCallback<Uri> {
|
public class GeneralPreferences extends BasePreferenceFragment implements ActivityResultCallback<Uri> {
|
||||||
private final ActivityResultContracts.OpenDocument openFolderContract = new ActivityResultContracts.OpenDocument();
|
private final ActivityResultContracts.OpenDocument openFolderContract = new ActivityResultContracts.OpenDocument();
|
||||||
private ActivityResultLauncher<String[]> pickFileRequest;
|
private ActivityResultLauncher<String[]> pickFileRequest;
|
||||||
|
|
Loading…
Add table
Reference in a new issue