diff options
author | Joost Peters | 2006-07-07 09:00:18 +0000 |
---|---|---|
committer | Joost Peters | 2006-07-07 09:00:18 +0000 |
commit | 240acc427ad26fc30566e65a75ad808260c180b6 (patch) | |
tree | 5c09a214f81ec0cfc16ff17ad3f0d964f0db38fc | |
parent | 3f4cc015b2d7b0ddd26a24dada04a64b68d27bc6 (diff) | |
download | scummvm-rg350-240acc427ad26fc30566e65a75ad808260c180b6.tar.gz scummvm-rg350-240acc427ad26fc30566e65a75ad808260c180b6.tar.bz2 scummvm-rg350-240acc427ad26fc30566e65a75ad808260c180b6.zip |
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.
svn-id: r23383
-rw-r--r-- | common/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system.h b/common/system.h index f5b8d334f1..c1dd846a52 100644 --- a/common/system.h +++ b/common/system.h @@ -415,7 +415,7 @@ public: * @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. |