diff options
author | Joost Peters | 2009-08-18 18:06:50 +0000 |
---|---|---|
committer | Joost Peters | 2009-08-18 18:06:50 +0000 |
commit | a35056b55531edcd384c3fa0dafc9a4ee6bfb6ee (patch) | |
tree | 98a7c1464a7e04fd11298a7c725cc804a9f35a7f /backends/platform/psp/osys_psp.cpp | |
parent | ed2a733b2a9841f00e8ea2559193044cc4fca8b0 (diff) | |
download | scummvm-rg350-a35056b55531edcd384c3fa0dafc9a4ee6bfb6ee.tar.gz scummvm-rg350-a35056b55531edcd384c3fa0dafc9a4ee6bfb6ee.tar.bz2 scummvm-rg350-a35056b55531edcd384c3fa0dafc9a4ee6bfb6ee.zip |
Implement setCursorPalette(), correct hasFeature() <-> getFeatureState() mixup.
svn-id: r43519
Diffstat (limited to 'backends/platform/psp/osys_psp.cpp')
-rw-r--r-- | backends/platform/psp/osys_psp.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp index d1886c253f..566db3014b 100644 --- a/backends/platform/psp/osys_psp.cpp +++ b/backends/platform/psp/osys_psp.cpp @@ -79,6 +79,8 @@ OSystem_PSP::OSystem_PSP() : _screenWidth(0), _screenHeight(0), _overlayWidth(0) memset(_palette, 0, sizeof(_palette)); + _cursorPaletteDisabled = true; + _samplesPerSec = 0; //init SDL @@ -110,14 +112,14 @@ void OSystem_PSP::initBackend() { bool OSystem_PSP::hasFeature(Feature f) { - return false; + return (f == kFeatureOverlaySupportsAlpha || f == kFeatureCursorHasPalette); } void OSystem_PSP::setFeatureState(Feature f, bool enable) { } bool OSystem_PSP::getFeatureState(Feature f) { - return (f == kFeatureOverlaySupportsAlpha); + return false; } const OSystem::GraphicsMode* OSystem_PSP::getSupportedGraphicsModes() const { |