From 58b023b8c4573036924a80c83c4877718c008d89 Mon Sep 17 00:00:00 2001 From: kascade Date: Sat, 20 Oct 2007 08:23:25 +0000 Subject: [PATCH] extended rom support git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@795 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d --- ecu_defs/mitsubishi/evo9_defs.xml | 16 ++++++++++++ src/enginuity/maps/Table.java | 11 -------- src/enginuity/newmaps/ecumetadata/Scale.java | 27 ++++++++++---------- src/enginuity/xml/RomAttributeParser.java | 17 +++++------- 4 files changed, 36 insertions(+), 35 deletions(-) diff --git a/ecu_defs/mitsubishi/evo9_defs.xml b/ecu_defs/mitsubishi/evo9_defs.xml index a1905deb..959714a3 100644 --- a/ecu_defs/mitsubishi/evo9_defs.xml +++ b/ecu_defs/mitsubishi/evo9_defs.xml @@ -12,6 +12,7 @@ mitsukernelocp + High Octane Fuel Map
+ + +
+ +
+ + +
+ High Octane Ignition Map 1 + + 4 && input.substring(0, 4).equalsIgnoreCase("uint")) { + } else if (input.startsWith("uint")) { return Integer.parseInt(input.substring(4)) / 8; } else { return Integer.parseInt(input); @@ -64,9 +57,11 @@ public final class RomAttributeParser { return TABLE_3D; } else if (input.equalsIgnoreCase("2D") || input.equalsIgnoreCase(String.valueOf(TABLE_2D))) { return TABLE_2D; - } else if (input.equalsIgnoreCase("X Axis") || input.equalsIgnoreCase("Static X Axis") || input.equalsIgnoreCase(String.valueOf(TABLE_X_AXIS))) { + } else + if (input.equalsIgnoreCase("X Axis") || input.equalsIgnoreCase("Static X Axis") || input.equalsIgnoreCase(String.valueOf(TABLE_X_AXIS))) { return TABLE_X_AXIS; - } else if (input.equalsIgnoreCase("Y Axis") || input.equalsIgnoreCase("Static Y Axis") || input.equalsIgnoreCase(String.valueOf(TABLE_Y_AXIS))) { + } else + if (input.equalsIgnoreCase("Y Axis") || input.equalsIgnoreCase("Static Y Axis") || input.equalsIgnoreCase(String.valueOf(TABLE_Y_AXIS))) { return TABLE_Y_AXIS; } else { return TABLE_1D;