OpenXcom
OpenXcom copied to clipboard
Bug in Engine/FileMap.cpp > SDL_LoadFile_RW()
There's a bug which makes loading files potentially 2x slower.
After reading the whole file into the buffer, the loop erroneously repeats, where the whole buffer is resized and reallocated.