I’m coding something quick up in MASM32, heh.. the MASM API seems to work, FSOUND_INIT works fine and returns no errors. I have:
modname db ‘f:soundmusicxmab.xm’, 0
invoke FSOUND_Init, 44100, (other funky parameters which I can’t remember but were copied from the example)
invoke FMUSIC_LoadSong, addr modname
it crashes. Gives me a ‘divide by zero’ error. I ran it in Turbo Debugger, the error was in FMOD, at an IDIV instruction. This bemused me, because FMOD used to work perfectly when I used it with mingw32, heh. I’ve tried using different files, PUSHing the parameter instead of using INVOKE.. I’m stumped. Anybody else know?
help would be greatly appreciated, heh.. otherwise I’ll have to use MIDAS or something.
- You must login to post comments