[Scummvm-cvs-logs] SF.net SVN: scummvm: [31715] scummvm/trunk/engines/made/pmvplayer.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Apr 25 12:43:47 CEST 2008
Revision: 31715
http://scummvm.svn.sourceforge.net/scummvm/?rev=31715&view=rev
Author: thebluegr
Date: 2008-04-25 03:43:47 -0700 (Fri, 25 Apr 2008)
Log Message:
-----------
Center videos to screen
Modified Paths:
--------------
scummvm/trunk/engines/made/pmvplayer.cpp
Modified: scummvm/trunk/engines/made/pmvplayer.cpp
===================================================================
--- scummvm/trunk/engines/made/pmvplayer.cpp 2008-04-25 07:36:38 UTC (rev 31714)
+++ scummvm/trunk/engines/made/pmvplayer.cpp 2008-04-25 10:43:47 UTC (rev 31715)
@@ -198,7 +198,8 @@
}
void PmvPlayer::updateScreen() {
- _vm->_system->copyRectToScreen((const byte*)_surface->pixels, _surface->pitch, 0, 0, _surface->w, _surface->h);
+ _vm->_system->copyRectToScreen((const byte*)_surface->pixels, _surface->pitch,
+ (320 - _surface->w) / 2, (200 - _surface->h) / 2, _surface->w, _surface->h);
_vm->_system->updateScreen();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list