summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosFlash.java
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/altosui/AltosFlash.java')
-rw-r--r--ao-tools/altosui/AltosFlash.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosFlash.java b/ao-tools/altosui/AltosFlash.java
index 0f92d6e7..b7018555 100644
--- a/ao-tools/altosui/AltosFlash.java
+++ b/ao-tools/altosui/AltosFlash.java
@@ -247,6 +247,7 @@ public class AltosFlash {
int flash_addr = image.address;
int image_start = 0;
+ action("start", 0);
action(0, image.data.length);
while (remain > 0 && !aborted) {
int this_time = remain;
@@ -314,6 +315,8 @@ public class AltosFlash {
}
public AltosRomconfig romconfig() {
+ if (!check_rom_config())
+ return null;
return rom_config;
}