[Scummvm-cvs-logs] SF.net SVN: scummvm: [23383] scummvm/trunk/common/system.h
joostp at users.sourceforge.net
joostp at users.sourceforge.net
Fri Jul 7 11:00:21 CEST 2006
Revision: 23383
Author: joostp
Date: 2006-07-07 02:00:18 -0700 (Fri, 07 Jul 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23383&view=rev
Log Message:
-----------
make grabRawScreen() pure virtual, since it's now _required_ to be implemented by backends for certain SCUMM games to function properly.
This happened when ScummEngine::moveScreen() was changed in revision 23215 and causes Indy4 to fail the assert(_system->grabRawScreen(...)) on PSP (and Symbian?), where this function was not implemented.
ViewCVS Links:
-------------
http://svn.sourceforge.net/scummvm/?rev=23215&view=rev
Modified Paths:
--------------
scummvm/trunk/common/system.h
Modified: scummvm/trunk/common/system.h
===================================================================
--- scummvm/trunk/common/system.h 2006-07-07 07:55:26 UTC (rev 23382)
+++ scummvm/trunk/common/system.h 2006-07-07 09:00:18 UTC (rev 23383)
@@ -415,7 +415,7 @@
* @param surf the surfce to store the data in it
* @return true if all went well, false if an error occured
*/
- virtual bool grabRawScreen(Graphics::Surface *surf) { return false; }
+ virtual bool grabRawScreen(Graphics::Surface *surf) = 0;
/**
* Clear the screen to black.
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