Permalink
Browse files

Minor bug that was causing problems with SPC.

  • Loading branch information...
1 parent ba43df0 commit 8ca668303beea1a4209862c6701835cc50877256 @JohnEarnest committed May 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Mako.java
View
@@ -141,6 +141,7 @@ public static void exec(int[] rom, boolean fuzz, MakoRom traceRom) {
}
private static int arrayMax(int base, MakoRom rom) {
+ if (rom == null) { return base; }
while(true) {
if (base + 1 >= rom.size()) { break; }
if (rom.getType( base + 1) != MakoRom.Type.Array) { break; }

0 comments on commit 8ca6683

Please sign in to comment.