Open AngelofMe opened 2 years ago
I can confirm that game causes the core to segfault. It can be avoided by setting the “Show horizontal overscan” core option to OFF.
Happens in arm, aarch64 and x86_64, on GNU/Linux.
It doesn't happen in the pce_fast core.
Doesn't happen on win10 x64.
Okay on win7 x86 and winxp x86.
Don't know if #69 affects this game.
@vanfanel Can you compile the core in debug mode and test the crash? Maybe it's the optimizer doing bad things.
I found out that changing the Last Scanline
core option to 238 or less, the segfault doesn't appear.
I hope it helps debugging this long-standing issue!
Definetively the problem is when setting pce_h_overscan = auto
. This option tries to make auto croping based on some formulas in vce.cpp
in the next condition: if(MDFN_GetSettingB("pce.crop_h_overscan"))
resulting in incorrect width (16) and height (30) which is reported as the game geometry, leading to a crash due to libretro frontend not able to manage such bad resolutions.
Confirmed in other content too, not only Aero Blasters. Sometimes RA just crashes, sometimes audio works but no viewport shows. Both PCE FAST and Supergrafx work fine however.
open content Aero Blasters (Japan) Aero Blasters (USA) crashed