you cant do that, because FMUSIC_MODULE has pointers inside it that point to other malloced blocks of memory.
A better way would be to encrypt your file, then just load and decrypt it into memory and use fmod memory loading functions. You dont even have to encrypt it you could just store it in your executable tomake it harder for them to find (as a resource)
- You must login to post comments
Please login first to submit.