libretro / gpsp

gpSP for libretro.
GNU General Public License v2.0
52 stars 52 forks source link

[Video] Payback - Bitmap/OBJ layer order issues #207

Closed andymcca closed 1 year ago

andymcca commented 1 year ago

In the game Payback, the language and game menus do not display correctly. The effect looks like extreme blurring.

Having investigated and reviewed the code, this appears to be a corner case issue with the Bitmap/OBJ layer order code.

For example, changing the order position of the OBJ layer in line number 3455 in video.c (e.g. from 'priority | 0x04' to 'priority | 0x05') makes the menus display correctly - but this breaks other games! So there is something more going on here. Opening an issue to keep track.

andymcca commented 1 year ago

Have created PR #208 as a potential fix to be reviewed.

davidgfnet commented 1 year ago

This game has some serious performance issue with the CPU dynarec code, but this should be treated in a separate Issue/PR. The GFX issues have been now resolved thanks to the mode4-color effects support that just landed. Closing this!