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:
ramapcsx2 2011-07-26 17:53:54 +00:00
parent d8149fdb8b
commit c2c19d7e96
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
} }