[Scummvm-git-logs] scummvm master -> 784a6edb1a35e30c9198ac6ec94ba41f6a453b4c

spleen1981 noreply at scummvm.org
Sat Mar 25 20:34:53 UTC 2023


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:
784a6edb1a LIBRETRO: reorder supported formats list


Commit: 784a6edb1a35e30c9198ac6ec94ba41f6a453b4c
    https://github.com/scummvm/scummvm/commit/784a6edb1a35e30c9198ac6ec94ba41f6a453b4c
Author: Giovanni Cascione (ing.cascione at gmail.com)
Date: 2023-03-25T21:34:37+01:00

Commit Message:
LIBRETRO: reorder supported formats list

Changed paths:
    backends/platform/libretro/src/libretro-os.cpp


diff --git a/backends/platform/libretro/src/libretro-os.cpp b/backends/platform/libretro/src/libretro-os.cpp
index 4e4b249b9d7..65101c388b1 100644
--- a/backends/platform/libretro/src/libretro-os.cpp
+++ b/backends/platform/libretro/src/libretro-os.cpp
@@ -463,6 +463,9 @@ public:
 	virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const {
 		Common::List<Graphics::PixelFormat> result;
 
+		/* Palette - most games */
+		result.push_back(Graphics::PixelFormat::createFormatCLUT8());
+
 		/* RGBA8888 */
 		result.push_back(Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0));
 
@@ -473,8 +476,6 @@ public:
 		/* RGB555 - fmtowns */
 		result.push_back(Graphics::PixelFormat(2, 5, 5, 5, 1, 10, 5, 0, 15));
 
-		/* Palette - most games */
-		result.push_back(Graphics::PixelFormat::createFormatCLUT8());
 		return result;
 	}
 




More information about the Scummvm-git-logs mailing list