P
PlayLight
Guest
I've run into a strange problem while using the function > buffer_save_async().
Occasionally this function will apply 'default\' to the start of the filename argument.
For instance, saving a BUFFER which contains a png file:
will save the BUFFER successfully, but to "default\bin\img\image1.png" instead of "bin\img\image1.png".
This seem to only happen occasionally, so it has been quite difficult to replicate on demand and debug.
Does anyone know under what conditions this 'default/' prefix is applied?
Hopefully i'm just overlooking something simple.
(GM:S-v1.4.1763, wYYC)
Occasionally this function will apply 'default\' to the start of the filename argument.
For instance, saving a BUFFER which contains a png file:
Code:
FILE = buffer_save_async(BUFFER, "bin\img\image1.png", 0, BUFFER_SIZE);
This seem to only happen occasionally, so it has been quite difficult to replicate on demand and debug.
Does anyone know under what conditions this 'default/' prefix is applied?
Hopefully i'm just overlooking something simple.
(GM:S-v1.4.1763, wYYC)
Last edited by a moderator: