From ece6718cbf4e83fcda64cf95f45a7c0e1a653be0 Mon Sep 17 00:00:00 2001 From: Iliyas Jorio Date: Wed, 23 Feb 2022 23:21:51 +0100 Subject: [PATCH] PICT: Remove redundant opcode check (0x0C00) --- src/Graphics/PICT.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Graphics/PICT.cpp b/src/Graphics/PICT.cpp index 2e746cd..43ea3c8 100644 --- a/src/Graphics/PICT.cpp +++ b/src/Graphics/PICT.cpp @@ -403,8 +403,6 @@ ARGBPixmap Pomme::Graphics::ReadPICT(std::istream& theF, bool skip512) opcode = f.Read(); - //printf("~~~~~ OPCODE %04X ~~~~~\n", opcode); - // Skip reserved opcodes if (opcode >= 0x0100 && opcode <= 0x7FFF) { @@ -414,10 +412,6 @@ ARGBPixmap Pomme::Graphics::ReadPICT(std::istream& theF, bool skip512) switch (opcode) { - case 0x0C00: - f.Skip(12); - break; - case 0x0000: // nop case 0x001E: // DefHilite case 0x0048: // frameSameRRect