mirror of https://github.com/PCSX2/pcsx2.git
Gif: Don't set state on NOP packet. Fixes #2277
This commit is contained in:
parent
24b83fd96c
commit
f7c0a910f8
|
@ -289,7 +289,10 @@ struct Gif_Path {
|
||||||
}
|
}
|
||||||
|
|
||||||
gifTag.setTag(&buffer[curOffset], 1);
|
gifTag.setTag(&buffer[curOffset], 1);
|
||||||
state = (GIF_PATH_STATE)(gifTag.tag.FLG + 1);
|
|
||||||
|
//Don't set state to PACKED if it is a NOP packet
|
||||||
|
if(gifTag.tag.NLOOP > 0)
|
||||||
|
state = (GIF_PATH_STATE)(gifTag.tag.FLG + 1);
|
||||||
|
|
||||||
// We don't have enough data for a complete GS packet
|
// We don't have enough data for a complete GS packet
|
||||||
if(!gifTag.hasAD && curOffset + 16 + gifTag.len > curSize) {
|
if(!gifTag.hasAD && curOffset + 16 + gifTag.len > curSize) {
|
||||||
|
|
Loading…
Reference in New Issue