Thanks, I could modifie the brightness of the scanlines, not by changing the first line, which was in my case ineffective, but this one :
#define percent 0.97
Unfortunately, even with “crop overscan” off, the issue with genesis games remains with both cores (here, I decreased brightness).

So I tried the other way you had suggested. I created an image, 640 * 480 px, with black horizontal lines (1 px each), which I called nawak.png. Then, I made a nawak.cfg file, imitating what I’ve found in git hub :
overlays = 1
overlay0_overlay = nawak.png
overlay0_full_screen = true
overlay0_descs = 0
I put the files in the same folder. But When I select this file in “overlay preset”, it fails to load. Where is my mistake?