mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
[librptexture] ICOPrivate::loadImage_Win3(): Add assertions for unsupported icon formats.
TODO: Need a test icon for Win3.x monochrome icons.
This commit is contained in:
parent
a4efadbc56
commit
11da731ef7
@ -714,6 +714,12 @@ rp_image_const_ptr ICOPrivate::loadImage_Win3(void)
|
||||
switch (bitcount) {
|
||||
default:
|
||||
// Not supported yet...
|
||||
assert(!"Win3.x icon format is not supported!");
|
||||
return {};
|
||||
|
||||
case 1:
|
||||
// Monochrome (TODO: Find a test icon)
|
||||
assert(!"Win3.x 1bpp icon format is not supported yet!");
|
||||
return {};
|
||||
|
||||
case 4:
|
||||
|
Loading…
Reference in New Issue
Block a user