[Scummvm-cvs-logs] SF.net SVN: scummvm: [23384] scummvm/branches/branch-0-9-0/common/system.h
joostp at users.sourceforge.net
joostp at users.sourceforge.net
Fri Jul 7 11:16:55 CEST 2006
Revision: 23384
Author: joostp
Date: 2006-07-07 02:16:52 -0700 (Fri, 07 Jul 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23384&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/branches/branch-0-9-0/common/system.h
Modified: scummvm/branches/branch-0-9-0/common/system.h
===================================================================
--- scummvm/branches/branch-0-9-0/common/system.h 2006-07-07 09:00:18 UTC (rev 23383)
+++ scummvm/branches/branch-0-9-0/common/system.h 2006-07-07 09:16:52 UTC (rev 23384)
@@ -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