MiSTer-devel / PSX_MiSTer

PSX for MiSTer
GNU General Public License v2.0
211 stars 51 forks source link

Judge Dredd glitches while shooting w/ GunCon or Justifier controller type #196

Open KremlingKuthroat19 opened 2 years ago

KremlingKuthroat19 commented 2 years ago

Judge Dredd works perfectly fine with the standard controller, however when switching the controller type to GunCon or Justifier the graphics get really glitchy when you shoot. The screen gets covered with a very brief graphical glitch which is supposed to represent the standard flash from a light gun's shot.

This was tested on HDMI with a DualSense controller, not with CRT and/or SNAC/SNAX. This problem exists on both the NTSC and PAL versions.

Here's a couple of screenshots from the game when firing the gun: 20220926_105750-screen 20220926_105752-screen

Count-Duckula-AU commented 2 years ago

Confirmed this issue is present using HDMI but does not occur when using VGA

RobertPeip commented 1 year ago

The game is switching the horizontal res from 320 to 256 for one frame, to display a framebuffer containing a pure white image that is smaller than the normal framebuffer.

This is not done midscreen, so it should not lead to such images.

There seems to be a problem with the pixel addressing due to that rapid change in the scaler, leading to corrupt data being shown. Example where this can clearly be seen: grafik