Fixed issue #10 reported by Michael -- Looks like introspection works a little differently in 8.0.66 when there are multiple methods with the same name!

This commit is contained in:
Brendan Robert 2016-01-14 21:29:40 -06:00
parent 97b367ccce
commit af1bdb6b35

View File

@ -204,10 +204,10 @@ public class EmulatorUILogic implements Reconfigurable {
Emulator.computer.resume(); Emulator.computer.resume();
return; return;
} }
runFile(binary); runFileNamed(binary);
} }
public static void runFile(File binary) { public static void runFileNamed(File binary) {
String fileName = binary.getName().toLowerCase(); String fileName = binary.getName().toLowerCase();
try { try {
if (fileName.contains("#06")) { if (fileName.contains("#06")) {