|
楼主 |
发表于 2025-6-10 22:32:27
|
显示全部楼层
本帖最后由 sjy96525 于 2025-6-11 21:46 编辑
0.278修复了魂斗罗1街机版图像bug:
k007121: sprite list and related fixes (#13795)
I was recently doing some testing on a contra board around the 007121 IC and found the following
- There is no sprite limit, but instead a 264 8x8 sprite block limit
- There is no buffering of sprite data on the attached SRAM
From this the follow changes have been made
- Use the 264 8x8 sprite block limit to determine number of sprites that should be rendered
- Remove sprite ram buffering, and move logic for picking sprite ram bank into k007121.cpp
- Comment updates related to the limit and non-buffering
Additionally the high bit of tiles are stored in one of the control registers, if this bit changes all tiles should be marked as dirty.
These changes fix a number of sprite related issues on games using this chip
mametesters 00185 (combatsc: missing sprites)
mametesters 00401 + issue #7957 (contra: left over sprites)
https://github.com/mamedev/mame/ ... bcb66b3e1804df4c9a8
k007121: add sprite buffer (otherwise 1 frame sprite lag in eg. hcastle, contra, labyrunr)
https://github.com/mamedev/mame/ ... 9add37bef94f5f085da |
|