<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I really don't know what could be wrong with SAGA. The engine checks for the presence of certain files on startup to enable/disable features... perhaps Common::File::exists() is slow on the PSP?<br><br>As for SCI... the problem is that it's using a very complex iterator code for the MIDI music, which is most probably what's bringing things to a screeching halt. I wanted to rewrite this based on Greg's SCI engine (which is doing what the original interpreter did), but I simply didn't have enough time these days. I'll look at it again towards the weekend.<br><br>Regards<br>Filippos<br><br><br><hr id="stopSpelling">From: yotambarnoy@gmail.com<br>Date: Wed, 25 Nov 2009 17:33:14 +0200<br>To: scummvm-devel@lists.sourceforge.net<br>Subject: [Scummvm-devel] Slowdowns in SCI and SAGA<br><br><div dir="ltr">Hey guys<br><br>I would like to ask the developers of SCI and SAGA (and any others who would like to contribute) for some help in making these engines run better on the PSP.<br><br>SAGA already has a bug open in the tracker. I thought it was a regression, but going as far back as 0.13.0 still didn't make it go away. The engine takes a minute to load. That's 60 seconds! It then runs absolutely fine with no hint of slowdown whatsoever. It seems to be reading the whole time. As a hint, if I run the PSP shell from my desktop, the engine loads up very fast. I'm guessing the PC's caching somehow makes the difference.<br>

<br>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.<br>

<br>Any idea what's going on with these engines?<br><br>Yotam<br></div>                                     <br /><hr />Hotmail: Trusted email with powerful SPAM protection. <a href='http://clk.atdmt.com/GBL/go/177141665/direct/01/' target='_new'>Sign up now.</a></body>
</html>