[Scummvm-devel] Slowdowns in SCI and SAGA

Walter van Niftrik walter at vanniftrik-it.nl
Wed Nov 25 17:00:09 CET 2009


yotam barnoy wrote:
> I know SCI is in development. However, SCI0 works so beautifully on 
> the PC, and it used to work well on the PSP too. I decided to load it 
> up in gprof to see what's eating up cycles -- the engine simply 
> crawls. Turns out the OPL code is bringing the PSP to its knees, no 
> matter which OPL driver I use (Dosbox or MAME). 90% of CPU time is 
> used up handling the OPL stuff. This doesn't happen in any other engine.

AFAIK, SCI is the only engine that uses dual opl2 mode. This essentially 
requires twice the CPU power for audio. You could try setting it to mono 
by editing the adlib.cpp file.

Regards,

Walter




More information about the Scummvm-devel mailing list