Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: RandomTiger on January 22, 2004, 06:22:39 pm
-
I've just discovered quite a bad bug I put into fs2_open.
When using -pcx32 bitmaps loaded from pcx would get loaded into memory twice. And only unloaded once.
That could actually account for some of the problems people have been experiencing. Sorry about that.
Heres a fixed exe.
http://mysite.freeserve.com/thomaswhittaker/c_code/freespace/fs2_open_r.rar
-
As in loaded into main memory (i.e. not graphics memory)? This could explain the 1gb memory requirement of FS2_open I've been experiencing recently. As soon as my main computer works again...
-
Aha! this explains the size of my page file
-
this is a modified 20_01_04 build?
You should stick to the naming convention of builds, else this is getting very confusing. :doubt:
-
Turns out its not as bad as I thought, the memory should have been freed OK before mallocing the new one later on in the code.
Was still a bad bug though.