From 4af9057eaa3e69b6575415359537d91d6bc0cfb9 Mon Sep 17 00:00:00 2001 From: Yotam Barnoy Date: Sat, 23 Oct 2010 19:01:34 +0000 Subject: 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 --- backends/platform/psp/osys_psp.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'backends/platform/psp/osys_psp.cpp') 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; -- cgit v1.2.3