BACKENDS: Implement getScreenPixelBuffer() for PSP

This commit is contained in:
rsn8887 2020-10-10 09:48:50 -05:00
parent 28a1f729ff
commit d0fd0f1151
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,7 @@
#include "backends/saves/default/default-saves.h"
#include "backends/timer/psp/timer.h"
#include "graphics/surface.h"
#include "graphics/pixelbuffer.h"
#include "audio/mixer_intern.h"
//#define __PSP_DEBUG_FUNCS__ /* For debugging function calls */
@ -130,6 +131,10 @@ const OSystem::GraphicsMode* OSystem_PSP::getSupportedGraphicsModes() const {
return _displayManager.getSupportedGraphicsModes();
}
Graphics::PixelBuffer OSystem_PSP::getScreenPixelBuffer() {
return Graphics::PixelBuffer();
}
int OSystem_PSP::getDefaultGraphicsMode() const {
DEBUG_ENTER_FUNC();
return _displayManager.getDefaultGraphicsMode();

View File

@ -79,6 +79,7 @@ public:
virtual Graphics::PixelFormat getScreenFormat() const;
virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const;
#endif
virtual Graphics::PixelBuffer getScreenPixelBuffer();
// Screen size
void initSize(uint width, uint height, const Graphics::PixelFormat *format);