mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
BACKENDS: Implement getScreenPixelBuffer() for PSP
This commit is contained in:
parent
28a1f729ff
commit
d0fd0f1151
@ -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();
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user