From b67cec7b9f768c1557d455a4f1908b50523e6619 Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sun, 4 Oct 2015 13:10:44 -0700 Subject: [PATCH] Preferences save calls into native already --- .../main/java/org/deadc0de/apple2ix/Apple2DisksMenu.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Android/app/src/main/java/org/deadc0de/apple2ix/Apple2DisksMenu.java b/Android/app/src/main/java/org/deadc0de/apple2ix/Apple2DisksMenu.java index 80ed9c77..b2b92868 100644 --- a/Android/app/src/main/java/org/deadc0de/apple2ix/Apple2DisksMenu.java +++ b/Android/app/src/main/java/org/deadc0de/apple2ix/Apple2DisksMenu.java @@ -569,14 +569,12 @@ public class Apple2DisksMenu implements Apple2MenuView { boolean isDriveA = diskA.isChecked(); boolean diskReadOnly = readOnly.isChecked(); if (isDriveA) { - Apple2Preferences.CURRENT_DISK_A.saveString(mActivity, imageName); Apple2Preferences.CURRENT_DISK_A_RO.saveBoolean(mActivity, diskReadOnly); + Apple2Preferences.CURRENT_DISK_A.saveString(mActivity, imageName); } else { - Apple2Preferences.CURRENT_DISK_B.saveString(mActivity, imageName); Apple2Preferences.CURRENT_DISK_B_RO.saveBoolean(mActivity, diskReadOnly); + Apple2Preferences.CURRENT_DISK_B.saveString(mActivity, imageName); } - - mActivity.nativeChooseDisk(imageName, isDriveA, diskReadOnly); } });