aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/osys_psp.cpp
diff options
context:
space:
mode:
authorYotam Barnoy2010-10-23 19:01:34 +0000
committerYotam Barnoy2010-10-23 19:01:34 +0000
commit4af9057eaa3e69b6575415359537d91d6bc0cfb9 (patch)
tree8f66d1298aa98798f3155149e4c8fa711e23ccbe /backends/platform/psp/osys_psp.cpp
parent09f77eb4642eae4e945f8c10554ce204aff450e0 (diff)
downloadscummvm-rg350-4af9057eaa3e69b6575415359537d91d6bc0cfb9.tar.gz
scummvm-rg350-4af9057eaa3e69b6575415359537d91d6bc0cfb9.tar.bz2
scummvm-rg350-4af9057eaa3e69b6575415359537d91d6bc0cfb9.zip
PSP: Fix up imageViewer to pause game
The only real way to pause the game is to take over the event loop, which is a little sad... Also fixed a possible crash when loading an image that was to big, by only rendering when we have _init set. svn-id: r53741
Diffstat (limited to 'backends/platform/psp/osys_psp.cpp')
-rw-r--r--backends/platform/psp/osys_psp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp
index 8b490217a4..40c074ae00 100644
--- a/backends/platform/psp/osys_psp.cpp
+++ b/backends/platform/psp/osys_psp.cpp
@@ -87,6 +87,7 @@ void OSystem_PSP::initBackend() {
// Set pointers for image viewer
_imageViewer.setInputHandler(&_inputHandler);
+ _imageViewer.setDisplayManager(&_displayManager);
_savefile = new PSPSaveFileManager;