So basically I simply allocate memory from the bootstrap, load in my (almost pc relative game code) and then fix-up all of the addresses using HUNK_RELOC32.
I take it HUNK_RELOC32 contains a list of all of the base offset addresses which I then just need to adjust.
Sound about right?
|