[Scummvm-git-logs] scummvm master -> d0fd0f1151a1754905c49c923f7ab0b37173325d
rsn8887
rsn8887 at users.noreply.github.com
Sat Oct 10 14:49:35 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d0fd0f1151 BACKENDS: Implement getScreenPixelBuffer() for PSP
Commit: d0fd0f1151a1754905c49c923f7ab0b37173325d
https://github.com/scummvm/scummvm/commit/d0fd0f1151a1754905c49c923f7ab0b37173325d
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2020-10-10T09:48:50-05:00
Commit Message:
BACKENDS: Implement getScreenPixelBuffer() for PSP
Changed paths:
backends/platform/psp/osys_psp.cpp
backends/platform/psp/osys_psp.h
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp
index b5a612d41c..5dba7f8803 100644
--- a/backends/platform/psp/osys_psp.cpp
+++ b/backends/platform/psp/osys_psp.cpp
@@ -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();
diff --git a/backends/platform/psp/osys_psp.h b/backends/platform/psp/osys_psp.h
index 8e263e2898..e3bf787eca 100644
--- a/backends/platform/psp/osys_psp.h
+++ b/backends/platform/psp/osys_psp.h
@@ -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);
More information about the Scummvm-git-logs
mailing list