v5.1a with improved MOB collision detection (fixes GORF) and improved JLP detection.

This commit is contained in:
Dave Bernazzani 2024-06-16 07:31:57 -04:00
parent f729b116ba
commit 485839f961
2 changed files with 5 additions and 1 deletions

View File

@ -119,6 +119,10 @@ Credits :
--------------------------------------------------------------------------------
History :
--------------------------------------------------------------------------------
V5.1a : 15-Jun-2024 by wavemotion-dave
* Improved MOB collision detection to fix GORF
* Improved JLP detection so we don't enable it inadvertantly.
V5.1 : 28-May-2024 by wavemotion-dave
* Improved STIC emulation to properly restrict MOBS for both GRAM and GROM to cards 0-63 in FG/BG mode.
* Separate 2K GRAM build - experimental but functional. Use NINTV-DS-2KGRAM (will coexist with the normal NINTV-DS build)

View File

@ -1202,7 +1202,7 @@ ITCM_CODE void AY38900::determineMOBCollisions()
//check MOB on MOB collisions
for (int j = i+1; j < 8; j++)
{
if (mobs[j].xLocation == 0 || !mobs[j].flagCollisions || mobs[j].xLocation >= 167 || mobs[j].yLocation >= 104 || mobs[i].yLocation == 0)
if (mobs[j].xLocation == 0 || !mobs[j].flagCollisions || mobs[j].xLocation >= 167 || mobs[j].yLocation >= 104 || mobs[i].yLocation == 0)
continue;
if (mobsCollide(i, j)) {