Does RomRaider sometimes ignore the endian-ness defined for tables in the 32 bit ecu defs?
I was poking around today (A8DH200X and 32BITBASE) and found:
Code:
<table name='MAF Limit (Maximum)' storageaddress='0xC2398'/>
<table name='MAF Limit (Maximum)' category='MAF' storagetype='float' userlevel='3' type='1D' [b]endian='little'[/b] sizey='1'>
<table name='MAF Limit (CEL)' category='MAF' storagetype='float' userlevel='3' type='1D' [b]endian='little'[/b] sizey='1'>
Ok, so if I read at 0xC2398 and unpack what I find there as little-endian I get:
Code:
irb(main):171:0> rom.pos=0xC2398; rom.read().unpack('e')
=> [6.64593822675331e-41]
Let's try big-endian...
Code:
irb(main):170:0> rom.pos=0xC2398; rom.read().unpack('g')
=> [300.0]
My code is correct as far as I can see, so I'm left wondering- why does RomRaider apparently treat it as big when the defs say it's little?