mirror of https://github.com/PCSX2/pcsx2.git
New GIF: Quick fix from Cotton, fixes ICO and hopefully Tekken 4.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4830 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
d8149fdb8b
commit
c2c19d7e96
|
@ -229,7 +229,7 @@ struct Gif_Path {
|
||||||
if (gifTag.hasAD) { // Only can be true if GIF_FLG_PACKED
|
if (gifTag.hasAD) { // Only can be true if GIF_FLG_PACKED
|
||||||
bool dblSIGNAL = false;
|
bool dblSIGNAL = false;
|
||||||
while(gifTag.nLoop && !dblSIGNAL) {
|
while(gifTag.nLoop && !dblSIGNAL) {
|
||||||
if (curOffset >= curSize) return gsPack; // Exit Early
|
if (curOffset + 16 > curSize) return gsPack; // Exit Early
|
||||||
if (gifTag.curReg() == GIF_REG_A_D) {
|
if (gifTag.curReg() == GIF_REG_A_D) {
|
||||||
dblSIGNAL = Gif_HandlerAD(&buffer[curOffset]);
|
dblSIGNAL = Gif_HandlerAD(&buffer[curOffset]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue