Hi,
I'm trying to use maxmod to add sound to my DS game (dstroy).
There are many musics and sound in this game, about 2mb data.
When i try to add all these files in my binary, the game crashes everytime : I think it has not enough memory to run, as (if i had well understand) every data is loaded in memory via "sounddata".
Is there another way i can add music files in the project?
Or a way to add many data files without using memory?
thanks
too much data in memory
Moderator: eKid
Re: too much data in memory
There's another route you can take with the soundbank data. You can leave the soundbank data out of your program, but during initialization just setup the filesystem and use mmInitDefault( "soundbank.bin" ); to tell maxmod to read data from that file instead of everything being in memory. Then, only what you 'mmLoad' will be in memory and mmUnload will free it.
Who is online
Users browsing this forum: No registered users and 0 guests