BACKENDS: Implement getScreenPixelBuffer() for PSP
This commit is contained in:
parent
28a1f729ff
commit
d0fd0f1151
2 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
||||||
#include "backends/saves/default/default-saves.h"
|
#include "backends/saves/default/default-saves.h"
|
||||||
#include "backends/timer/psp/timer.h"
|
#include "backends/timer/psp/timer.h"
|
||||||
#include "graphics/surface.h"
|
#include "graphics/surface.h"
|
||||||
|
#include "graphics/pixelbuffer.h"
|
||||||
#include "audio/mixer_intern.h"
|
#include "audio/mixer_intern.h"
|
||||||
|
|
||||||
//#define __PSP_DEBUG_FUNCS__ /* For debugging function calls */
|
//#define __PSP_DEBUG_FUNCS__ /* For debugging function calls */
|
||||||
|
@ -130,6 +131,10 @@ const OSystem::GraphicsMode* OSystem_PSP::getSupportedGraphicsModes() const {
|
||||||
return _displayManager.getSupportedGraphicsModes();
|
return _displayManager.getSupportedGraphicsModes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Graphics::PixelBuffer OSystem_PSP::getScreenPixelBuffer() {
|
||||||
|
return Graphics::PixelBuffer();
|
||||||
|
}
|
||||||
|
|
||||||
int OSystem_PSP::getDefaultGraphicsMode() const {
|
int OSystem_PSP::getDefaultGraphicsMode() const {
|
||||||
DEBUG_ENTER_FUNC();
|
DEBUG_ENTER_FUNC();
|
||||||
return _displayManager.getDefaultGraphicsMode();
|
return _displayManager.getDefaultGraphicsMode();
|
||||||
|
|
|
@ -79,6 +79,7 @@ public:
|
||||||
virtual Graphics::PixelFormat getScreenFormat() const;
|
virtual Graphics::PixelFormat getScreenFormat() const;
|
||||||
virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const;
|
virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const;
|
||||||
#endif
|
#endif
|
||||||
|
virtual Graphics::PixelBuffer getScreenPixelBuffer();
|
||||||
|
|
||||||
// Screen size
|
// Screen size
|
||||||
void initSize(uint width, uint height, const Graphics::PixelFormat *format);
|
void initSize(uint width, uint height, const Graphics::PixelFormat *format);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue