flyinghead / flycast

Flycast is a multiplatform Sega Dreamcast, Naomi, Naomi 2 and Atomiswave emulator
GNU General Public License v2.0
1.37k stars 167 forks source link

Unexpected crosshairs appear in arcade games #1363

Closed kihato closed 8 months ago

kihato commented 8 months ago

Windows11 / i7-10700F / GTX 1660 SUPER

Github hash: 192838b

Set the light gun on device A and select a color that stands out, such as red, as the crosshair color. Then, leave the crosshair check as is and change to the Sega controller. When you launch any arcade game, a crosshair will appear.

flyinghead commented 8 months ago

Which renderer are you using? I tried OpenGL and Vulkan but can't reproduce the issue. I may be missing an important step so any additional detail would be helpful.

kihato commented 8 months ago

Sorry. Information was lacking. It seems to be limited to DX. The same thing happens with device B etc.

naomi

flyinghead commented 8 months ago

I still can't reproduce it. I tried DX9, DX11 per triangle and per pixel. Tried various combinations of starting a dreamcast game, switching to light gun, stopping the game, switching back to controller, using 3 light guns, etc. Nothing makes the crosshair appear unless the arcade game is a lightgun or touchscreen game.

kihato commented 8 months ago

I deleted the settings at that time, so I couldn't reproduce it, but after trial and error, I found that the additional bug condition other than "Using DX9 or DX11" was to check "Show VMU in-game".

flyinghead commented 8 months ago

Yep, that was the missing piece. Thanks! Should be fixed in the next master build.

kihato commented 8 months ago

Thanks. It's fixed!