[Scummvm-git-logs] scummvm master -> bc4a1aed625a82424bca27a44c0ea9c88005936c

sev- sev at scummvm.org
Sat Oct 10 00:18: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:
bc4a1aed62 3DS: Fix compilation


Commit: bc4a1aed625a82424bca27a44c0ea9c88005936c
    https://github.com/scummvm/scummvm/commit/bc4a1aed625a82424bca27a44c0ea9c88005936c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-10-10T02:18:17+02:00

Commit Message:
3DS: Fix compilation

Changed paths:
    backends/platform/3ds/osystem-graphics.cpp
    backends/platform/3ds/osystem.h


diff --git a/backends/platform/3ds/osystem-graphics.cpp b/backends/platform/3ds/osystem-graphics.cpp
index 7c11acd67b..c902018a10 100644
--- a/backends/platform/3ds/osystem-graphics.cpp
+++ b/backends/platform/3ds/osystem-graphics.cpp
@@ -27,6 +27,7 @@
 #include "backends/platform/3ds/config.h"
 #include "common/rect.h"
 #include "graphics/fontman.h"
+#include "graphics/pixelbuffer.h"
 #include "gui/gui-manager.h"
 
 // Used to transfer the final rendered display to the framebuffer
@@ -186,6 +187,10 @@ bool OSystem_3DS::setGraphicsMode(GraphicsModeID modeID) {
 	}
 }
 
+Graphics::PixelBuffer OSystem_3DS::getScreenPixelBuffer() {
+	return Graphics::PixelBuffer();
+}
+
 void OSystem_3DS::initSize(uint width, uint height,
                            const Graphics::PixelFormat *format) {
 	debug("3ds initsize w:%d h:%d", width, height);
diff --git a/backends/platform/3ds/osystem.h b/backends/platform/3ds/osystem.h
index 79428f0010..c5c182879d 100644
--- a/backends/platform/3ds/osystem.h
+++ b/backends/platform/3ds/osystem.h
@@ -141,6 +141,7 @@ public:
 	virtual int getScreenChangeID() const { return _screenChangeId; };
 	GraphicsModeID chooseMode(Graphics::PixelFormat *format);
 	bool setGraphicsMode(GraphicsModeID modeID);
+	virtual Graphics::PixelBuffer getScreenPixelBuffer();
 
 	void beginGFXTransaction();
 	OSystem::TransactionError endGFXTransaction();




More information about the Scummvm-git-logs mailing list