mirror of
https://github.com/jorio/Pomme.git
synced 2024-05-27 20:48:27 +00:00
PICT: Remove redundant opcode check (0x0C00)
This commit is contained in:
parent
08dd1e61b6
commit
ece6718cbf
|
@ -403,8 +403,6 @@ ARGBPixmap Pomme::Graphics::ReadPICT(std::istream& theF, bool skip512)
|
||||||
|
|
||||||
opcode = f.Read<SInt16>();
|
opcode = f.Read<SInt16>();
|
||||||
|
|
||||||
//printf("~~~~~ OPCODE %04X ~~~~~\n", opcode);
|
|
||||||
|
|
||||||
// Skip reserved opcodes
|
// Skip reserved opcodes
|
||||||
if (opcode >= 0x0100 && opcode <= 0x7FFF)
|
if (opcode >= 0x0100 && opcode <= 0x7FFF)
|
||||||
{
|
{
|
||||||
|
@ -414,10 +412,6 @@ ARGBPixmap Pomme::Graphics::ReadPICT(std::istream& theF, bool skip512)
|
||||||
|
|
||||||
switch (opcode)
|
switch (opcode)
|
||||||
{
|
{
|
||||||
case 0x0C00:
|
|
||||||
f.Skip(12);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 0x0000: // nop
|
case 0x0000: // nop
|
||||||
case 0x001E: // DefHilite
|
case 0x001E: // DefHilite
|
||||||
case 0x0048: // frameSameRRect
|
case 0x0048: // frameSameRRect
|
||||||
|
|
Loading…
Reference in New Issue
Block a user