Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03067 Graphics Minor Always Mar 24, 2009, 17:51 Jun 8, 2021, 04:50
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To galibert Resolution Fixed OS
Status [?] Resolved Driver
Version 0.130u1 Fixed in Version 0.233 Build
Fixed in Git Commit 565e938 Github Pull Request #
Summary 03067: leprechn, leprechp, potogold: Graphics corruption during Rainbow Screen
Description When you finished the 1st set of 8 levels (leprechn, leprechp) or after 4 levels (potogold), you get an intermission screen which your sleuth runs to the pot of gold at the end. Currently, everywhere the character runs, the Rainbow is erased.
Steps To Reproduce
Additional Information There was a big merging in 0.115u1 of is game into "gameplan.c". This is where the error first occurs (based on my regression testing)
Github Commit
Regression Version 0.115u1
Affected Sets / Systems leprechn, leprechp, potogold
Attached Files
png file icon 0002.png (1,718 bytes) Mar 24, 2009, 17:51
There are no relationship linked to this issue.
User avatar
Mar 24, 2009, 21:20
Also, In the game, there many areas of corruption - mostly at the end of a level. This is noticeable in Pirate Treasure too..
User avatar
Senior Tester
Aug 8, 2014, 17:10
I fixed an index out-of-bounds access when reading the pens in r31555 - did this help?
User avatar
Aug 8, 2014, 19:14
Nope, r31555 doesn't make any difference.

The old leprechn.c driver had video ram readback hooked up through one of the VIA ports, this was removed (intentionally? accidentally?) when gameplan.c and leprechn.c were merged. I've put it back (r31560) it doesn't fix the issue but it makes *some* difference: instead of leaving black holes in the rainbow, a trail of images of the character is left instead. I think someone more familiar with the 6522 VIA needs to take a look at this to determine what's missing (our VIA implementation has changed a lot since 0.115)
User avatar
Senior Tester
Apr 9, 2018, 13:18
edited on: Apr 9, 2018, 13:20
not sure if it's related, or has always happened by piratetr in the same driver seems to crash after a certain point (which isn't difficult to reach)


if they're using the 6522 VIA stuff as some kind of 'protection' I guess it could be related.

just jump to 2h26m55s because apparently the auto embed thing here mangles the link entirely.

could just be a game bug I suppose, but it requires minimal skill to get that far.
User avatar
Senior Tester
Jun 8, 2021, 02:19
Does this fix it?