mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
changed to dynamic allocation of smush player
svn-id: r5063
This commit is contained in:
parent
bff43de73a
commit
c49e3e3eb8
@ -2719,9 +2719,11 @@ void Scumm::o6_miscOps()
|
||||
speed = 71;
|
||||
else
|
||||
speed = 1000 / _insaneFlag;
|
||||
ScummRenderer sr(this, speed);
|
||||
SmushPlayer sp(&sr);
|
||||
sp.play((char*)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());
|
||||
ScummRenderer * sr = new ScummRenderer(this, speed);
|
||||
SmushPlayer * sp = new SmushPlayer(sr);
|
||||
sp->play((char*)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());
|
||||
delete sp;
|
||||
delete sr;
|
||||
}
|
||||
break;
|
||||
case 7:
|
||||
|
Loading…
x
Reference in New Issue
Block a user