From a3bc8bfd1664cef55af3c8535608779f158a9918 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 12 Sep 2022 07:15:32 +1000 Subject: [PATCH] -gameboy.xml, gbcolor.xml: Demoted HuC-3 games to partially working. -imagedev/picture.cpp: Added extensions for supported BMP and JPEG formats. --- hash/gameboy.xml | 3 ++- hash/gbcolor.xml | 18 ++++++++++++------ src/devices/imagedev/picture.h | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/hash/gameboy.xml b/hash/gameboy.xml index 92992b37f02..37a0ef060bd 100644 --- a/hash/gameboy.xml +++ b/hash/gameboy.xml @@ -18148,7 +18148,8 @@ license:CC0 - + + + Pocket Family GB2 (Japan) 1999 @@ -18486,7 +18487,8 @@ license:CC0 - + + Robopon - Sun Version (USA) 2000 @@ -18510,7 +18512,8 @@ license:CC0 - + + + + + Robot Ponkottsu - Sun Version (Japan) 1998 Hudson Soft diff --git a/src/devices/imagedev/picture.h b/src/devices/imagedev/picture.h index 23fa72d686a..b53dab22062 100644 --- a/src/devices/imagedev/picture.h +++ b/src/devices/imagedev/picture.h @@ -37,7 +37,7 @@ public: virtual bool is_writeable() const noexcept override { return false; } virtual bool is_creatable() const noexcept override { return false; } virtual bool is_reset_on_load() const noexcept override { return false; } - virtual const char *file_extensions() const noexcept override { return "png"; } + virtual const char *file_extensions() const noexcept override { return "png,jpg,jpeg,jfif,bmp,dib"; } virtual const char *image_type_name() const noexcept override { return "picture"; } virtual const char *image_brief_type_name() const noexcept override { return "pic"; }