Hello,
the help for GetMemblockInt says:
"offset must be a multiple of 4 as int values cannot be read across 4 byte boundaries"
And GetMemblockShort must have a 2-byte boundary.
Unfortunately I cannot use these functions, because my MemBlock (read from my data file)
contains bytes, short integers, integers etc., so e.g. integers don't necessarily lie on 4-byte boundaries.
Ok, it was not hard to write my own GetMemblockShort and GetMemblockInt replacement functions,
which don't have this limitation, but I wonder, why this limitation exists at all.
Seems to be an internal thing, but I see no real reason for this limitation.
Perhaps, you could remove this limitation in a later AppGameKit version.
Kind regards,
Ekkr