aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorRichieSams2013-09-08 03:18:51 -0500
committerRichieSams2013-09-09 11:16:38 -0500
commitaf94158723c2698b17faf83fccc585ce747c7e68 (patch)
tree152f21fd76c5f9182f6db01f282a90ea80b92ef9 /engines/zvision
parent87e78e4c338aa7cde9c53e00eaa6ca1ad97d5d94 (diff)
downloadscummvm-rg350-af94158723c2698b17faf83fccc585ce747c7e68.tar.gz
scummvm-rg350-af94158723c2698b17faf83fccc585ce747c7e68.tar.bz2
scummvm-rg350-af94158723c2698b17faf83fccc585ce747c7e68.zip
ZVISION: Save a thumbnail of the RenderManager backbuffer instead of the actual screen
This prevents things like the GMM being in the thumbnail
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/save_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/zvision/save_manager.cpp b/engines/zvision/save_manager.cpp
index 595a0525c7..4f8bfeb836 100644
--- a/engines/zvision/save_manager.cpp
+++ b/engines/zvision/save_manager.cpp
@@ -30,6 +30,7 @@
#include "zvision/save_manager.h"
#include "zvision/zvision.h"
#include "zvision/script_manager.h"
+#include "zvision/render_manager.h"
namespace ZVision {
@@ -88,7 +89,7 @@ void SaveManager::autoSave() {
void SaveManager::writeSaveGameData(Common::OutSaveFile *file) {
// Create a thumbnail and save it
- Graphics::saveThumbnail(*file);
+ Graphics::saveThumbnail(*file, *_engine->getRenderManager()->getBackBuffer());
// Write out the save date/time
TimeDate td;