fixed bug where FalloutRIX2BMPMem would segfault