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

rsn8887 rsn8887 at users.noreply.github.com
Sat Oct 2 22:46:13 UTC 2021


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:
aa42de666c BACKENDS: PSP: Fix screen scaling


Commit: aa42de666cb10967fa9a4576d33469d3916c7248
    https://github.com/scummvm/scummvm/commit/aa42de666cb10967fa9a4576d33469d3916c7248
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2021-10-02T17:45:26-05:00

Commit Message:
BACKENDS: PSP: Fix screen scaling

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 4f7be25799..83f1fde1e3 100644
--- a/backends/platform/psp/osys_psp.cpp
+++ b/backends/platform/psp/osys_psp.cpp
@@ -135,7 +135,7 @@ int OSystem_PSP::getDefaultGraphicsMode() const {
 	return _displayManager.getDefaultGraphicsMode();
 }
 
-bool OSystem_PSP::setGraphicsMode(int mode) {
+bool OSystem_PSP::setGraphicsMode(int mode, uint flags) {
 	DEBUG_ENTER_FUNC();
 	_displayManager.waitUntilRenderFinished();
 	_pendingUpdate = false;
diff --git a/backends/platform/psp/osys_psp.h b/backends/platform/psp/osys_psp.h
index e203616356..d12be80944 100644
--- a/backends/platform/psp/osys_psp.h
+++ b/backends/platform/psp/osys_psp.h
@@ -73,7 +73,7 @@ public:
 	// Graphics related
 	const GraphicsMode *getSupportedGraphicsModes() const;
 	int getDefaultGraphicsMode() const;
-	bool setGraphicsMode(int mode);
+	bool setGraphicsMode(int mode, uint flags);
 	int getGraphicsMode() const;
 #ifdef USE_RGB_COLOR
 	virtual Graphics::PixelFormat getScreenFormat() const;




More information about the Scummvm-git-logs mailing list