diff options
author | Yotam Barnoy | 2010-10-23 19:01:34 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-10-23 19:01:34 +0000 |
commit | 4af9057eaa3e69b6575415359537d91d6bc0cfb9 (patch) | |
tree | 8f66d1298aa98798f3155149e4c8fa711e23ccbe /backends/platform/psp/osys_psp.cpp | |
parent | 09f77eb4642eae4e945f8c10554ce204aff450e0 (diff) | |
download | scummvm-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.cpp | 1 |
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; |