OpenXcom icon indicating copy to clipboard operation
OpenXcom copied to clipboard

Bug in Engine/FileMap.cpp > SDL_LoadFile_RW()

Open Delian0 opened this issue 3 months ago • 0 comments

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.

Screenshot 2024-11-23 222114

Delian0 avatar Nov 23 '24 22:11 Delian0