Improve CPS-1 sprite list end detection (match MAME)

This commit is contained in:
Barry Harris 2012-04-08 19:41:35 +00:00
parent 3c3ddd86da
commit a59a58c180
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ INT32 CpsObjGet()
break;
}
} else {
if (BURN_ENDIAN_SWAP_INT16(ps[3]) == 0xff00) { // end of sprite list
if (BURN_ENDIAN_SWAP_INT16(ps[3]) >= 0xff00) { // end of sprite list
break;
}
}