mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-05 21:24:27 -04:00
fix png part
This commit is contained in:
parent
a1d7cf2b86
commit
c80cae3638
2 changed files with 3 additions and 2 deletions
|
@ -58,7 +58,7 @@ void ScreenshotViewer::paint(Painter& painter) {
|
|||
}
|
||||
|
||||
// Screenshots from PNGWriter are all this size.
|
||||
if (file.size() != 232383) {
|
||||
if ((file.size() != 232383 && screen_width == 240) || (screen_width == 320 && file.size() != 463743)) {
|
||||
show_invalid();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue