chanbara: guru confirmed that enemy spawn bug happens on pcb

This commit is contained in:
hap 2024-11-26 03:40:18 +01:00
parent f4f5fb5ebf
commit 27b766f1c3

View File

@ -45,14 +45,14 @@ Notes:
------------------------
TODO:
- Verify what happens if you skip an enemy, on MAME the next one may appear out of
thin air. MAME previously showed garbage sprites moving fast to the left and later
changing into an enemy character, disable the (~attr & 0x01) check to see.
- BGM tempo is too slow, what is it caused by? See https://mametesters.org/view.php?id=8024
BTANB:
- on enemies that hide behind the roof on the 3rd level, their feet are visible below
the roof, and their head is behind the sky
- If you skip an upper floor enemy (just walk under them), the next time one shows up,
it may appear out of thin air instead of scrolling in from the right. This doesn't
happen when skipping lower floor enemies.
- On enemies that hide behind the roof on the 3rd level, their feet are visible below.
the roof, and their head is behind the sky.
****************************************************************************************/
@ -188,7 +188,7 @@ void chanbara_state::draw_sprites(screen_device &screen, bitmap_ind16& bitmap, c
int sx = (240 - m_spriteram[offs + 3]) & 0xff;
int sy = (240 - m_spriteram[offs + 2]) & 0xff;
// disabled?
// not visible
if (~attr & 0x01)
continue;