[Scummvm-devel] Re: New OS interface

Marcus Comstedt marcus at mc.pp.se
Wed Apr 17 13:03:20 CEST 2002


Ruediger Hanke <tomjoad at muenster.de> writes:

> > Also, I'm a little curious about
> > 
> >        // Create a thread
> >        virtual void *create_thread(ThreadProc *proc, void *param) = 0;
> > 
> > Fortunately it seems that this function is never called
> 
> Never? It starts the MIDI music thread if you use MIDI music ...

Nope.  I put a warning message an an exit() statement in my
implementation, but it's never reached.


> if you don't implement MIDI music you (currently?) don't have to
> worry about it.

I just implement WAV music, using the SoundProc interface.  This works
fine.  If some kind of real MIDI was to be implemented, it should run
on the ARM cpu, which technically would make it a thread of its own,
but I think it would have to use a different interface anyway.  :)


Another question:  Has there been an incompatible change to the
savefile format?  I can save and load games, but if I try to load a
game saved before the code freeze, I get

WARNING: Probably invalid size allocating 1145255682!
Expired resources, mem 73940 -> 73940
sbrk: Out of allocatable memory! (incr = 1145212928)
Error: Out of memory while allocating 1145255682!
Exit called. Exiting to menu.



  // Marcus






More information about the Scummvm-devel mailing list