mirror of
https://github.com/scummvm/scummvm.git
synced 2026-05-21 05:40:43 +00:00
PSP: List more formats in DisplayManager::getSupportedPixelFormats()
This commit is contained in:
committed by
Eugene Sandulenko
parent
90a0bdefd0
commit
fe1bc90297
@@ -463,9 +463,16 @@ Common::List<Graphics::PixelFormat> DisplayManager::getSupportedPixelFormats() c
|
||||
Common::List<Graphics::PixelFormat> list;
|
||||
|
||||
// In order of preference
|
||||
// Note that the OSystem documentation suggests that the format with the highest
|
||||
// depth should come first, but for PSP BGR565 is listed first instead to reduce
|
||||
// memory usage
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_5650));
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_5551));
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_4444));
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_5551, false));
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_5551, true));
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_4444, false));
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_4444, true));
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_8888, false));
|
||||
list.push_back(PSPPixelFormat::convertToScummvmPixelFormat(PSPPixelFormat::Type_8888, true));
|
||||
list.push_back(Graphics::PixelFormat::createFormatCLUT8());
|
||||
|
||||
return list;
|
||||
|
||||
Reference in New Issue
Block a user