RAM_OFFSET not calculated in check-stubs.py
Created originally on Bitbucket by daniel_fort (Daniel Fort)
When checking changes between stubs.S version that have the RAM_OFFSET defined like this:
#!C
#define RAM_OFFSET (0xFFCD35E8 - 0x1900)
It doesn't seem to calculate the value when it is used to compare with a stubs.S file that has it defined like this:
#!c
#define RAM_OFFSET 0xFFCD1AE8
Example:
#!text
STUB OLD NEW DELTA
current_interrupt 0x0000064c -> 0x0000064c [0x000]
create_init_task 0x00003168 -> MISSING [?????] [!!!]
DryosDebugMsg 0x000067c8 -> MISSING [?????] [!!!]
The workaround is not to mix apples and oranges but shouldn't the RAM_OFFSET be calculated by the script?