mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-14 18:30:01 +00:00
Preferences save calls into native already
This commit is contained in:
parent
242c083180
commit
b67cec7b9f
@ -569,14 +569,12 @@ public class Apple2DisksMenu implements Apple2MenuView {
|
|||||||
boolean isDriveA = diskA.isChecked();
|
boolean isDriveA = diskA.isChecked();
|
||||||
boolean diskReadOnly = readOnly.isChecked();
|
boolean diskReadOnly = readOnly.isChecked();
|
||||||
if (isDriveA) {
|
if (isDriveA) {
|
||||||
Apple2Preferences.CURRENT_DISK_A.saveString(mActivity, imageName);
|
|
||||||
Apple2Preferences.CURRENT_DISK_A_RO.saveBoolean(mActivity, diskReadOnly);
|
Apple2Preferences.CURRENT_DISK_A_RO.saveBoolean(mActivity, diskReadOnly);
|
||||||
|
Apple2Preferences.CURRENT_DISK_A.saveString(mActivity, imageName);
|
||||||
} else {
|
} else {
|
||||||
Apple2Preferences.CURRENT_DISK_B.saveString(mActivity, imageName);
|
|
||||||
Apple2Preferences.CURRENT_DISK_B_RO.saveBoolean(mActivity, diskReadOnly);
|
Apple2Preferences.CURRENT_DISK_B_RO.saveBoolean(mActivity, diskReadOnly);
|
||||||
|
Apple2Preferences.CURRENT_DISK_B.saveString(mActivity, imageName);
|
||||||
}
|
}
|
||||||
|
|
||||||
mActivity.nativeChooseDisk(imageName, isDriveA, diskReadOnly);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user