summaryrefslogtreecommitdiff
path: root/altoslib/AltosDebug.java
diff options
context:
space:
mode:
Diffstat (limited to 'altoslib/AltosDebug.java')
-rw-r--r--altoslib/AltosDebug.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/altoslib/AltosDebug.java b/altoslib/AltosDebug.java
index 76c13d57..8faab03b 100644
--- a/altoslib/AltosDebug.java
+++ b/altoslib/AltosDebug.java
@@ -260,7 +260,8 @@ public class AltosDebug {
public AltosRomconfig romconfig() {
try {
byte[] bytes = read_memory(0xa0, 10);
- return new AltosRomconfig(bytes, 0);
+ AltosHexfile hexfile = new AltosHexfile (bytes, 0xa0);
+ return new AltosRomconfig(hexfile);
} catch (IOException ie) {
} catch (InterruptedException ie) {
}